Nov 6, 2007

Microsoft Platform SDK

It appears that PSDK (Windows Server 2003 R2) does not recognize Visual C Express installation, and therefore Build Envs are not functioning.
VCDetect.Exe invoked during PSDK installation, ad should find Visual studio, and create setenv.bat.
To make story short, here how it should look:

@ECHO OFF
CALL "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\VSVars32.bat"
SET MSVCVer=8.0


Long story:

VCDetect.Exe looks up in the registry keys:
SOFTWARE\Microsoft\VisualStudio\(7.0|7.1|8.0)\Setup\VS\ProductDir


Visual studio express also has this key, but in:
SOFTWARE\Microsoft\VCExpress\8.0\Setup\VC...

No comments: