diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-11-30 11:08:26 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-11-30 11:08:26 (GMT) |
commit | cb6c359a6d24208a8cb7081b84418fd2c11929fe (patch) | |
tree | 2b538cfb74377144632c5f8c507f8825faac8437 /Tools | |
parent | 4f21f985eb09026faa11b7d9580d309c17c05373 (diff) | |
download | cpython-cb6c359a6d24208a8cb7081b84418fd2c11929fe.zip cpython-cb6c359a6d24208a8cb7081b84418fd2c11929fe.tar.gz cpython-cb6c359a6d24208a8cb7081b84418fd2c11929fe.tar.bz2 |
Issue #4389: Add icon to the uninstall entry in
"add-and-remove-programs".
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 6411ac9..2d88e42 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", |