Windows SDK versions

Windows Server 2003 R2 Platform SDK on 64-bit Windows 7

When you install the Windows Server 2003 R2 Platform SDK on 64-bit Windows 7, MozillaBuild will not detect it. This is because the path location is stored under the MicrosoftSDK key which is stored under to HKLM\Software\Microsoft but MozillaBuild (or MSYS?) is searching in HKLM\Software\Wow6432Node\Software\Microsoft.

Symptom: configure fails with

configure: error: System header atlbase.h is not available. See http://developer.mozilla.org/en/docs/atlbase.h for details on fixing this problem.

Solution: Apply the following registry file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MicrosoftSDK]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MicrosoftSDK\InstalledSDKs]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MicrosoftSDK\InstalledSDKs\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1]
"Install Dir"="C:\\Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\"

Verification: configure doesn't fail anymore, and running guess-msvc.bat will output the following:

Platform SDK directory: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\
Platform SDK version: 5

Document Tags and Contributors

 Contributors to this page: jhatlak
 Last updated by: jhatlak,