[issue5390] Item 'Python x.x.x' in Add/Remove Programs list still lacks an icon

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jun 26 22:32:20 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I found the cause: in msi.py, the DisplayIcon registry variable is attached to 
"REGISTRY.def" i.e the "Register extensions" feature.
The following patch attaches it to the parent group.

Index: msi.py
===================================================================
--- msi.py	(revision 73575)
+++ msi.py	(working copy)
@@ -1258,7 +1258,7 @@
                "", r"[TARGETDIR]Python.exe", "REGISTRY.def"),
               ("DisplayIcon", -1,
                r"Software\Microsoft\Windows\CurrentVersion\Uninstall\%s" % 
product_code,
-               "DisplayIcon", "[TARGETDIR]python.exe", "REGISTRY.def")
+               "DisplayIcon", "[TARGETDIR]python.exe", "REGISTRY")
               ])
     # Shortcuts, see "Shortcut Table"
     add_data(db, "Directory",

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5390>
_______________________________________


More information about the Python-bugs-list mailing list