Thank you very much for your script and the various comments.
I also got this Error Message Felix posted
...
if QueryValue(reg, installkey) == installpath :
WindowsError: [Errno 2] The system cannot find the file specified
...
Posted by Felix (2007-01-28)
(... and doing it the way Mark suggested created some registry entries at other locations than my ordinary (properly self registering) python installations.)
For me the solution was simply to run the python interpreter with the script (the initial version with "version = sys.version[:3]") AS ADMINISTRATOR.
Thank you very much for your script and the various comments.
I also got this Error Message Felix posted
...
if QueryValue(reg, installkey) == installpath :
WindowsError: [Errno 2] The system cannot find the file specified
...
Posted by Felix (2007-01-28)
(... and doing it the way Mark suggested created some registry entries at other locations than my ordinary (properly self registering) python installations.)
For me the solution was simply to run the python interpreter with the script (the initial version with "version = sys.version[:3]") AS ADMINISTRATOR.