Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45a6b9f

Browse files
committed
Merged revisions 67449 via svnmerge from
svn+ssh://[email protected]/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". ........
1 parent 841edad commit 45a6b9f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ Library
115115
Build
116116
-----
117117

118+
- Issue #4389: Add icon to the uninstall entry in "add-and-remove-programs".
119+
118120
- Issue #4289: Remove Cancel button from AdvancedDlg.
119121

120122
- Issue #1656675: Register a drop handler for .py* files on Windows.

Tools/msi/msi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,10 @@ def add_registry(db):
12491249
"[TARGETDIR]Doc\\"+docfile , "REGISTRY.doc"),
12501250
("Modules", -1, prefix+r"\Modules", "+", None, "REGISTRY"),
12511251
("AppPaths", -1, r"Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe",
1252-
"", r"[TARGETDIR]Python.exe", "REGISTRY.def")
1252+
"", r"[TARGETDIR]Python.exe", "REGISTRY.def"),
1253+
("DisplayIcon", -1,
1254+
r"Software\Microsoft\Windows\CurrentVersion\Uninstall\%s" % product_code,
1255+
"DisplayIcon", "[TARGETDIR]python.exe", "REGISTRY.def")
12531256
])
12541257
# Shortcuts, see "Shortcut Table"
12551258
add_data(db, "Directory",

0 commit comments

Comments
 (0)