Answer the question
In order to leave comments, you need to log in
How to set VCInstallDir option for VS 2010?
Installed Visual Studio 2010 Express. I work on Windows 7. When building the project, I get an error that the VCInstallDir parameter is not set or empty. Added the path to the required folder to the PATH variable. But the project is not going and the same error falls.
Answer the question
In order to leave comments, you need to log in
It's probably too late, but suddenly someone needs it:
VCInstallDir, like many other environment variables for the studio, is set and checked by calling %vs dir%\Common7\Tools\vsvars32.bat,
which in turn calls VCVarsQueryRegistry.bat.
If you look at the latest batch file, for VCInstallDir, the "10.0" key is searched in the following paths:
- HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VC7
- HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VC7
- HKLM\SOFTWARE\Wow6432Node\Microsoft\ VisualStudio\SxS\VC7
- HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question