From: Martin v. Löwis Date: Sun, 30 Nov 2008 11:08:26 +0000 (+0000) Subject: Issue #4389: Add icon to the uninstall entry in X-Git-Tag: v2.7a1~2605 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6c359a6d24208a8cb7081b84418fd2c11929fe;p=thirdparty%2FPython%2Fcpython.git Issue #4389: Add icon to the uninstall entry in "add-and-remove-programs". --- diff --git a/Misc/NEWS b/Misc/NEWS index 6ccece5dcc80..159dd6d229be 100644 --- 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. diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 6411ac92dc19..2d88e42c1415 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -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",