Python Forum

Full Version: Compiling to windows installer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, so I have run into an issue that I have not had before. I completed my code and used pyinstaller to compile it to an exe and it runs correctly. Once that was done I used the software Inno to compile it to a windows extracting installer, which I have used for projects before without problem. On this project it seems to complete correctly and no errors with Inno but when I install the program in windows and run it everything works other than it will not allow the program to use the database part of the program. All components of the program have been included in the setup for the windows installer, all images and db along with the exe of course.
I have tried to compile it and then make the installer a number of times with the same result... I even tried a different windows installer program to see if that corrected the problem but it has not.
Any ideas what I should be looking for to correct this problem? Or perhaps a different windows installer program to try?
Resolved... for some reason, although everything worked fine in the IDE and after compiling with pyinstaller, the program seemed to force a part of the code to run when compiled to an installer and then run. I removed one of the conditions for a query and tried to recompile in pyinstaller and then with Innosetup and it works properly now. There must be some reason that it forced the error although I have no idea why.
I did notify the Innosetup software people of the issue it created.