Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python distutils win32 version question

So you can use distutils to create a file, such as

PIL-1.1.6.win32-py2.5.exe

which you can run and use to easily install something. However, the installation requires user input to proceed (you have to click 'OK' three times). I want to create an easily installable windows version that you can just run as a cmd line program, that doesn't require input from the user. Is this possible? Do these .exe files do it already, but you need to pass them a magic cmd line argument to work?


1 Answers

See this post which describes an idea to modify the stub installer like this:

It also mentions another alternative: use setup.py bdist_msi instead, which will produce an msi package, that can be installed unattended

like image 102
David Fraser Avatar answered Jul 06 '26 22:07

David Fraser



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!