File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,12 @@ if not ERRORLEVEL 1 (
9393 set MSVC_VER = 14
9494 goto MSVCVarsDone
9595)
96- reg.exe query " HKLM\Software%WOWNODE% \Microsoft\VisualStudio\13 .0" /v " InstallDir" > nul 2 >& 1
96+ reg.exe query " HKLM\Software%WOWNODE% \Microsoft\VisualStudio\12 .0" /v " InstallDir" > nul 2 >& 1
9797if not ERRORLEVEL 1 (
9898 echo Visual Studio 2013 installation detected...
99- for /f " skip=2 tokens=2,*" %%a in ('reg.exe query " HKLM\Software%WOWNODE% \Microsoft\VisualStudio\13 .0" /v " InstallDir" ') do (set VSINSTALLDIR=%%b )
99+ for /f " skip=2 tokens=2,*" %%a in ('reg.exe query " HKLM\Software%WOWNODE% \Microsoft\VisualStudio\12 .0" /v " InstallDir" ') do (set VSINSTALLDIR=%%b )
100100 call " !VSINSTALLDIR! \VC\bin%MSVCVARSDIR% \vcvars%SYSARCH% .bat" > nul 2 >& 1
101- set MSVC_VER = 13
101+ set MSVC_VER = 12
102102 goto MSVCVarsDone
103103)
104104echo Error: Could not find valid Visual Studio installation!
You can’t perform that action at this time.
0 commit comments