[Python-Dev] Finally fix installer to add Python to %PATH% on Windows (original) (raw)
anatoly techtonik techtonik at gmail.com
Mon Jan 31 22:13:47 CET 2011
- Previous message: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows
- Next message: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok. Here is the patch. I used Orca to reverse installer tables of Mercurial MSI and inserted similar entry for Python.
Also available for review at: http://codereview.appspot.com/4023055
anatoly t. -------------- next part -------------- Index: Tools/msi/msi.py
--- Tools/msi/msi.py (revision 88279) +++ Tools/msi/msi.py (working copy) @@ -463,6 +463,11 @@ ("CompileGrammar", "COMPILEALL", 6802), ])
Add target dir to PATH
- add_data(db, "Environment",
[("Environmnent", "=-*PATH", "[~];[TARGETDIR]", "python.exe"),
])
##################################################################### # Standard dialogs: FatalError, UserExit, ExitDialog fatal=PyDialog(db, "FatalError", x, y, w, h, modal, title,
- Previous message: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows
- Next message: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]