[Python-checkins] r67449 - in python/trunk: Misc/NEWS Tools/msi/msi.py

martin.v.loewis python-checkins at python.org
Sun Nov 30 12:08:27 CET 2008


Author: martin.v.loewis
Date: Sun Nov 30 12:08:26 2008
New Revision: 67449

Log:
Issue #4389: Add icon to the uninstall entry in
"add-and-remove-programs".


Modified:
   python/trunk/Misc/NEWS
   python/trunk/Tools/msi/msi.py

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sun Nov 30 12:08:26 2008
@@ -89,6 +89,8 @@
 Build
 -----
 
+- Issue #4389: Add icon to the uninstall entry in "add-and-remove-programs".
+
 - Issue #4289: Remove Cancel button from AdvancedDlg.
 
 - Issue #1656675: Register a drop handler for .py* files on Windows.

Modified: python/trunk/Tools/msi/msi.py
==============================================================================
--- python/trunk/Tools/msi/msi.py	(original)
+++ python/trunk/Tools/msi/msi.py	Sun Nov 30 12:08:26 2008
@@ -1248,7 +1248,10 @@
                "[TARGETDIR]Doc\\"+docfile , "REGISTRY.doc"),
               ("Modules", -1, prefix+r"\Modules", "+", None, "REGISTRY"),
               ("AppPaths", -1, r"Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe",
-               "", r"[TARGETDIR]Python.exe", "REGISTRY.def")
+               "", r"[TARGETDIR]Python.exe", "REGISTRY.def"),
+              ("DisplayIcon", -1,
+               r"Software\Microsoft\Windows\CurrentVersion\Uninstall\%s" % product_code,
+               "DisplayIcon", "[TARGETDIR]python.exe", "REGISTRY.def")
               ])
     # Shortcuts, see "Shortcut Table"
     add_data(db, "Directory",


More information about the Python-checkins mailing list