I recently installed the latest windows sdk (7.0).
But the environment variable/"macro" $(WindowsSdkDir) from msvc still points to the old location ("C:\Program Files\Microsoft SDKs\Windows\v6.1\" instead of "C:\Program Files\Microsoft SDKs\Windows\v7.0\").
I executed all
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat,
C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat and
C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat (I think this should be the only one that has to be run.)
with admin privileges.
From what I know, these should update the variable from the registry "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\CurrentInstallFolder", where the correct current install folder is stored (I checked).
But even after running these the WindowsSdkDir variable still points to the old location.
Any ideas?