Questions tagged [pynsist]

Pynsist builds Windows installers for Python applications

Pynsist builds Windows installers for Python applications.

The installers it builds include an installer for the required version of Python, so you can distribute your application to people who don't already have Python installed. Start menu shortcuts and uninstall entries are created automatically. Unlike freeze tools, all of your code is installed as regular Python files, avoiding many potential pitfalls of trying to make an exe containing Python code.

Pynsist supports Python 2 and 3. Thanks to support in NSIS, it can even build Windows installers from other platforms.

31 questions
1
vote
1 answer

Bundling application and dependencies with pynsist

I'm a python newbie so please bear with me. I'm trying to bundle a PyQt4 application with pynsist. I want to import module A which depends on module B, C, and D, but specifying module A in the installer.cfg file does not bundle B, C, and D. Do I…
mbrunetti
  • 23
  • 3
1
vote
0 answers

How to properly deploy python project that uses pywin32 modules

I recently finished a project for a client that essentially is a scrolling wall calendar. It uses a module called pywebview that uses some pywin32 modules which I don't know how to properly install on the clients computer unless I did it myself.…
Will Beddow
  • 70
  • 2
  • 11
1
vote
1 answer

I am having issues with using pynsist

Hi I've installed pynsist in order to make my python files into executables but I am having some issues. The project consists of two files that I've written. The main program to be run is Filereader.py and a supplied file called spuriousReq.py which…
Lucas
  • 129
  • 1
  • 12
1
vote
0 answers

Pynsist packaging packages incorrectly

I'm trying this new tool out to distribute Python projects, which is called Pynsist (http://pynsist.readthedocs.org/en/latest/index.html). It works great and everything but for some reason no packages are found after install, what solves the problem…
Granitas
  • 302
  • 1
  • 4
  • 11
0
votes
1 answer

Unable to get UAS prompt on running application shortcut with double click which is installed in C directory and is build with NSIS software

I am facing a problem i.e. when I install my python application using an NSIS and install it for "anyone using this computer" and after the installation when I open the application nothing is happening as it should prompt the UAC to continue with…
0
votes
0 answers

why does my app generated with pynsist using snap 7 dont open

Hi im trying to make a nsis installer via pynsist but i dont know how to add the snap7 library it makes the file but when i try to run my script generated by pynsist dont open the file. here is my cfg file. [Application] name=JIG Sensor…
0
votes
1 answer

Problem with pynsist, I can't make the application run from the start menu

I wrote a simple program using PyQt5. I used also th Pynsist to make it execute on other computers. every thing was good, but the problem was when I try to execute the application from the Start Menu! it opens a console and close it very fast. I…
Ziad Lucka
  • 63
  • 4
0
votes
0 answers

How do I keep certain variables hidden from the user in pynsist application?

I am currently using pynsist to package up a python application so that it can be installed on any Windows machine. Is there any way I can keep certain variables or values hidden from the user? Currently the user can inspect and edit each python…
Edward Atkins
  • 406
  • 5
  • 12
0
votes
0 answers

Problems using Pynsist to make exe of python gui application (Repeating "ModuleNotFoundError" for unused modules)

As I run the installer.cfg I keep getting "ModuleNotFoundError"s for modules I never use in my code. For example, the first time I ran it I got "ModuleNotFoundError: No module named 'sip'" so I included sip in the list of packages in the…
0
votes
0 answers

Application created with pynsist will not execute script

I am trying to create a very simple desktop application with one python module in pynsist. Pynsist appears to be functioning correctly, and the application installs correctly. When I try to launch the application from the start menu, it appears to…
Diedrich
  • 184
  • 3
  • 8
0
votes
0 answers

Pynsist project can't find default Python after installation

I have built a GUI using PyQt5 and wanted to distribute it to other computers without Python installed by packageing it with pynsist. Unfortunately, the default Python, which does exist in the 'Python'-folder of the installation (and which is…
alex_555
  • 1,092
  • 1
  • 14
  • 27
0
votes
0 answers

Why doesn't pynsist shortcut start python script?

I recently tried to build an installer of a python application built with PyQt5. Unfortunately, after getting the installer via .cfg file and installing it on another computer the script does not start by clicking the shortcut in the (Windows) start…
alex_555
  • 1,092
  • 1
  • 14
  • 27
0
votes
0 answers

pynsist python installation point

I am developing some pseudo-GUI application (based on thinker) and I need to create executable Windows Installer. I created the main function just creates the logger and the input widget. import logging import sys import os import…
user1877600
  • 627
  • 1
  • 9
  • 26
0
votes
1 answer

Using requests with Pynsist - import error when distributing program

Setting the stage: I have a tkinter program for distribution that does a get request to pull information and then outputs some files in CSV. Everything works great on the computer that I made it on. Running it through the .launch file works,…
Andre H.
  • 11
  • 2
0
votes
0 answers

git-cola no response after installation whose installer is made by pynsist upon Ubuntu

I tried to use pynsist to make a windows installer for git-cola from my Ubuntu 15.10 desktop. I just git clone git-cola project and setup the installer according to the instruction. Seems OK for pynsist pynsist.cfg. Here is snippet at the…
Wesley
  • 1,857
  • 2
  • 16
  • 30