another try!

This commit is contained in:
Brian Gladman 2020-04-08 16:42:02 +01:00
parent ee35c3b257
commit 45eb8dabbd

View File

@ -14,7 +14,7 @@ set vs_version=2019
set vsw_exe="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
for /f "usebackq tokens=*" %%i in (`!vsw_exe! -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
for /f "usebackq tokens=*" %%i in (`"!vsw_exe!" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
set InstallDir=%%i
)