25 lines · 966 B · Text
RawDownload
Packaging Python as a Microsoft Installer Package (MSI)======================================================= Using this library, Python can be packaged as a MS-WindowsMSI file. To generate an installer package, you needa build tree. By default, the build tree root directoryis assumed to be in "../..". This location can be changedby adding a file config.py; see the beginning of msi.pyfor 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 SDKinstalled. 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 2003Command Prompt"). Then invoke <path-to-python.exe> msi.py If everything succeeds, pythonX.Y.Z.msi is generatedin the current directory.