w10install/scripts/install-vscode.cmd

21 lines
423 B
Batchfile
Raw Normal View History

2021-02-20 18:54:54 +01:00
@echo off
set CONFIG=config\install-vscode.txt
set EXE=..\software\VSCodeSetup-x64-1.53.2.exe
2021-02-27 20:07:28 +01:00
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
2021-02-20 18:54:54 +01:00
echo ####### %0 #######
echo killing ssh processes...
taskkill /F /IM Code.exe 2>nul
echo installing Visual Studio CODE ...
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
echo ####### %0 #######