/Tools/msi/README.txt

http://unladen-swallow.googlecode.com/ · Plain Text · 25 lines · 19 code · 6 blank · 0 comment · 0 complexity · e922e98dd678cb3df1eeb8bc9e6b46ea MD5 · raw file

  1. Packaging Python as a Microsoft Installer Package (MSI)
  2. =======================================================
  3. Using this library, Python can be packaged as a MS-Windows
  4. MSI file. To generate an installer package, you need
  5. a build tree. By default, the build tree root directory
  6. is assumed to be in "../..". This location can be changed
  7. by adding a file config.py; see the beginning of msi.py
  8. for additional customization options.
  9. The packaging process assumes that binaries have been
  10. generated according to the instructions in PCBuild/README.txt,
  11. and that you have either Visual Studio or the Platform SDK
  12. installed. In addition, you need the Python COM extensions,
  13. either from PythonWin, or from ActivePython.
  14. To invoke the script, open a cmd.exe window which has
  15. cabarc.exe in its PATH (e.g. "Visual Studio .NET 2003
  16. Command Prompt"). Then invoke
  17. <path-to-python.exe> msi.py
  18. If everything succeeds, pythonX.Y.Z.msi is generated
  19. in the current directory.