w10install/optional/install-go.cmd

24 lines
361 B
Batchfile
Raw Normal View History

@echo off
call check-for-admin
if %ERRORLEVEL% neq 0 exit /b
set SCRIPTS=..\scripts
set SOFTWARE=..\software
set MSI=go-setup.msi
if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
echo ####### %0 #######
cd %SOFTWARE%
@echo on
msiexec /i %MSI% /passive
@echo off
cd %OPT%
echo ####### %0 #######