cpython/Tools/msi
Martin v. Löwis ecb4f953dd Issue 5390: Add uninstall icon independent of whether file
extensions are installed.
2009-06-28 09:32:39 +00:00
..
crtlicense.txt #4700: crtlicense.txt is displayed by the license() command and should be kept ascii-only. 2008-12-19 22:56:48 +00:00
merge.py Add optional code signing after merging. 2009-02-13 20:51:48 +00:00
msi.py Issue 5390: Add uninstall icon independent of whether file 2009-06-28 09:32:39 +00:00
msilib.py Disable UAC by default. 2008-06-14 14:24:47 +00:00
msisupport.c Port to VS 2008. Drop W9x support. 2008-05-09 20:11:37 +00:00
msisupport.mak Port to VS 2008. Drop W9x support. 2008-05-09 20:11:37 +00:00
README.txt
schema.py Extend sizes of various fields, to support the CRT90 merge module. 2008-04-05 15:45:25 +00:00
sequence.py
uisample.py
uuids.py Add UUIDs for 2.6.1 and 2.6.2. 2008-12-08 11:14:57 +00:00

Packaging Python as a Microsoft Installer Package (MSI)
=======================================================

Using this library, Python can be packaged as a MS-Windows
MSI file. To generate an installer package, you need
a build tree. By default, the build tree root directory
is assumed to be in "../..". This location can be changed
by adding a file config.py; see the beginning of msi.py
for additional customization options.

The packaging process assumes that binaries have been 
generated according to the instructions in PCBuild/README.txt,
and that you have either Visual Studio or the Platform SDK
installed. In addition, you need the Python COM extensions,
either from PythonWin, or from ActivePython.

To invoke the script, open a cmd.exe window which has 
cabarc.exe in its PATH (e.g. "Visual Studio .NET 2003
Command Prompt"). Then invoke

<path-to-python.exe> msi.py

If everything succeeds, pythonX.Y.Z.msi is generated
in the current directory.