Closed Eliav2 closed 2 years ago
If you really mean an installer - an exe you run to install the application - then yes, that's what Pynsist is for.
When people talk about 'single file' in this context, they usually mean an exe file that runs the application directly, without needing to install it. This usually works by extracting files to a temporary folder and then running the application from there. Pynsist doesn't do this, but it is an option in Pyinstaller.
no - I mean actually a single file installer for installing the application (that could be installed as a folder with many files), I don't mean creating single file exe for running the application, but a single file installer that can install the app
OK, in that case, yes, that is what Pynsist gives you (or tries to).
But the build folder has many files except the installer, you say only the exe installer is necessary?
Yup, sorry for any confusion - it uses those files to produce the installer, but the installer should then work by itself.
Thank you
is this possible to use this library to create a single file exe installer?
I will explain - I built a GUI tk application, I can use pyinstaller to build dest folder (with exe run and all dependencies inside), then archive it as a zip, and then use nsis to create single file installer based on this zip.
so, is it possible to use this lib and create a single file installer similarly?