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 goto:eof
) )
set "ARCH=%PROCESSOR_ARCHITECTURE%" if not exist "%ProgramFiles(x86)%" (
if %ARCH%==x86 set "VSWhere=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe" set "ProgramFiles(x86)=%ProgramFiles%"
if %ARCH%==AMD64 set "VSWhere=%ProrgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" )
REM set "VSWhere=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe"
set "VSWhere=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
:MSBuild :MSBuild
echo Looking for MSBuild echo Looking for MSBuild