forked from M-Labs/nix-scripts
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:
parent
2db006aa19
commit
21f3b682c5
|
@ -122,8 +122,9 @@ in
|
||||||
''
|
''
|
||||||
echo ${cache}
|
echo ${cache}
|
||||||
ln -s ${cache}/vslayout vslayout
|
ln -s ${cache}/vslayout vslayout
|
||||||
win-put vslayout .
|
win-put vslayout /c:/
|
||||||
win-exec ".\vslayout\vs_community.exe --quiet --noweb --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US"
|
echo "Running Visual Studio installer"
|
||||||
|
win-exec "cd \vslayout && start /wait vs_Community.exe --passive --wait && echo %errorlevel%"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue