[Distutils] Installing to c:\Program Files\

Torquil Macdonald Sørensen torquil at gmail.com
Fri Feb 10 10:32:43 CET 2012


> Basically the answer is no, you can't use distutils to do this. Instead you
> should use a tool like py2exe to generate an executable for your program that
> bundles the Python binaries itself along with the program. You can then create
> an msi installer for your program using a free tool like WiX. Your bundled
> installers can then be installed into the standard Windows location and won't
> require your user to have Python installed to use your program:
>
> http://www.py2exe.org/
> http://wix.sourceforge.net/

Thanks Michael, but I don't think I want to do it that way. Py2exe was familiar 
to me, but I don't like the idea of bundling Python together with my program.

I'll start to investigate the different installer systems that are available for 
Windows.

Best regards,
Torquil Sørensen


More information about the Distutils-SIG mailing list