w10install/optional/install-vmrc.cmd
2023-12-29 21:22:45 +01:00

24 lines
402 B
Batchfile

@echo off
call check-for-admin
if %ERRORLEVEL% neq 0 exit /b
set OPT=..\optional
set SOFTWARE=..\software
set EXE=VMRC-setup.exe
if NOT EXIST %SOFTWARE%\%EXE% (
echo ERROR: %SOFTWARE%\%EXE% not found!
exit /b
)
echo ####### %0 #######
cd %SOFTWARE%
@echo on
%EXE% /v "/qn EULAS_AGREED=1 AUTOSOFTWAREUPDATE=0 DATACOLLECTION=0"
@echo off
cd %OPT%
echo ####### %0 #######