Python creating a Windows MSI installer from a zip file

I used Esky to make a frozen version of my application, but the output is a zip file that must be extracted to work. Which library has a good installer (uninstaller) that just asks for the folder and unpacks it there?

Also, a mac solution for the same problem would be nice. Esky's output is a zip file, no matter which OS you use.

+4
source share
2 answers

From the comments, I did not fully understand what you were looking for, so I will give you more than 1 option:

http://docs.python.org/2/distutils/builtdist.html#creating-windows-installers

http://docs.python.org/2/library/msilib.html

A very easy way to make Windows installers use VS: create msi installer

0
source

You can use Cx_Freeze ... You can create a .py file in Exe so that it can be excluded on computers without installing Python.

To create Msi, you will need to do what you would like to create exe, but when you type setup.py build in the CMD file setup.py bdist_msi build

0
source

Source: https://habr.com/ru/post/1485160/


All Articles