Fixed install-vs2017.bat.

This commit is contained in:
José Pedro 2018-04-04 15:05:06 +01:00
parent f003d01952
commit 6edb8547d3
No known key found for this signature in database
GPG key ID: B8247B9301707B83

View file

@ -12,10 +12,11 @@ if %ERRORLEVEL% neq 0 (
goto:eof
)
set "ARCH=%PROCESSOR_ARCHITECTURE%"
if %ARCH%==x86 set "VSWhere=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe"
if %ARCH%==AMD64 set "VSWhere=%ProrgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
REM set "VSWhere=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe"
if not exist "%ProgramFiles(x86)%" (
set "ProgramFiles(x86)=%ProgramFiles%"
)
set "VSWhere=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
:MSBuild
echo Looking for MSBuild