In previous article, we tried bundling python pyqt5 program into executable files. The output is a
dist folder contains many program files. In this article, let's use InstallForge to create an installer for this program like normal windows program.
The first step is to download InstallForge and install it.
We can download it in this link: installforge.net/download .
After that, just follow the normal install process.
Open installforge and the first page shows a form we need to fill, which are the general information about the application, such as product name, company name, supported operating system, etc.
Next we need to specify program bundling output data. First click the
Add Files button, and select all the files. Then click the
Add Folder button to add folder.
Click on the uninstallation tab and choose Include Uninstaller. With this, users could uninstall this program easily.
Then we specify the executable file path.
Then set up shortcur options.
Lastly, set up build options and click on the Build button.
The build process is like this.
If the build success, then an installer file should be created. Run this installer file to check if it works.