]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 67449 via svnmerge from
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 30 Nov 2008 11:09:53 +0000 (11:09 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 30 Nov 2008 11:09:53 +0000 (11:09 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67449 | martin.v.loewis | 2008-11-30 12:08:26 +0100 (So, 30 Nov 2008) | 3 lines

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

Misc/NEWS
Tools/msi/msi.py

index 0ec79ff536f0121a973f2e6237127f07d79c87f9..615812fcacb1b97e8d8363723c8c2811686803f3 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -79,6 +79,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 aa0202f22e4ac9178bd9893e410db97800bb888c..a942792987ea30e1743b3811c0fe21ae1d772e86 100644 (file)
@@ -1247,7 +1247,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",