This is the question: How to create a setup file(.msi) from a .py file? I have a little script but I need an installer to use it with “InstallSimple” program wich will install another applications.
I tried with pyinstaller but it supports 2.3-2.7 versions and I have an script for 3.3 version.
To create an
.msifile you need to use distutils. The essential procedure there is to create asetup.pyfile with information about your script, and you can then runpython setup.py bdist_msiand it will create an.msifile for you.However, using only this will create an
.msi-file for your Python script, but it will require you to install Python on the computer first. This is probably not what you want. To solve that you can create an.exe-file from your script with cx_Freeze. cx_Freeze can in turn use distutils to make the.msifile. There is an example here.