init.bat 353 B

123456789
  1. @echo off
  2. type build.logo
  3. echo finding Visual Studio...
  4. rem VS2017U2 contains vswhere.exe
  5. if "%VSWHERE%"=="" set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
  6. for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
  7. set InstallDir=%%i
  8. )