This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients lemburg, tarek
Date 2010-05-29.23:30:29
SpamBayes Score 0.058252394
Marked as misclassified No
Message-id <1275175831.39.0.913540756271.issue8854@psf.upfronthosting.co.za>
In-reply-to
Content
When installing Visual Studio 2008 SP1 on a Windows Vista x64 system, the installer registers the various registry keys under

Software\Wow6432Node\Microsoft\VisualStudio\9.0\

rather than

Software\Microsoft\VisualStudio\9.0\

This is due to some redirection MS is applying to registry names when running 32-bit apps (such as the VS2008 installer) on 64-bit Windows:

http://support.microsoft.com/kb/896459

Since the tools in msvc9compiler.py rely on the registry to find the various dirs, batch files and tools, these operations fail.

A simple solution is to just update the globals at the top of the file to:

VS_BASE = r"Software\Wow6432Node\Microsoft\VisualStudio\%0.1f"
WINSDK_BASE = r"Software\Wow6432Node\Microsoft\Microsoft SDKs\Windows"
NET_BASE = r"Software\Wow6432Node\Microsoft\.NETFramework"

but that would of course have to be done with some extra checks to not break these settings on other Windows systems.

I'm not sure whether this is specific to Windows Vista or also occurs on Windows 7.
History
Date User Action Args
2010-05-29 23:30:31lemburgsetrecipients: + lemburg, tarek
2010-05-29 23:30:31lemburgsetmessageid: <1275175831.39.0.913540756271.issue8854@psf.upfronthosting.co.za>
2010-05-29 23:30:29lemburglinkissue8854 messages
2010-05-29 23:30:29lemburgcreate