]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #4389: Add icon to the uninstall entry in
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 30 Nov 2008 11:08:26 +0000 (11:08 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 30 Nov 2008 11:08:26 +0000 (11:08 +0000)
"add-and-remove-programs".

Misc/NEWS
Tools/msi/msi.py

index 6ccece5dcc80134ae62406a0db2730f3f693a995..159dd6d229be384072619d994b844a173292d69e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -89,6 +89,8 @@ Library
 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.
index 6411ac92dc196872fd750c6306b0186349bedee7..2d88e42c1415889639c45f8675f38f427bf05b40 100644 (file)
@@ -1248,7 +1248,10 @@ def add_registry(db):
                "[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",