1
0
Fork 0

wfvm: get the visual studio installer to work

It is chock full of bugs and also the instructions on the microsoft website are wrong.
This commit is contained in:
Sebastien Bourdeauducq 2020-06-18 14:16:56 +08:00
parent 2db006aa19
commit 21f3b682c5
1 changed files with 3 additions and 2 deletions

View File

@ -122,8 +122,9 @@ in
''
echo ${cache}
ln -s ${cache}/vslayout vslayout
win-put vslayout .
win-exec ".\vslayout\vs_community.exe --quiet --noweb --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US"
win-put vslayout /c:/
echo "Running Visual Studio installer"
win-exec "cd \vslayout && start /wait vs_Community.exe --passive --wait && echo %errorlevel%"
'';
};
}