removed go, python3 and vlc from autoinstall routine...
This commit is contained in:
parent
20fa709fb0
commit
08b7304826
23
optional/install-go.cmd
Normal file
23
optional/install-go.cmd
Normal file
@ -0,0 +1,23 @@
|
||||
@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 #######
|
||||
|
23
optional/install-python.cmd
Normal file
23
optional/install-python.cmd
Normal file
@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set EXE=python3-setup.exe
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%EXE% (
|
||||
echo ERROR: %SOFTWARE%\%EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
%EXE% InstallAllUsers=1 PrependPath=0 /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo ####### %0 #######
|
||||
|
30
optional/install-vlc.cmd
Normal file
30
optional/install-vlc.cmd
Normal file
@ -0,0 +1,30 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set EXE=vlc-setup.exe
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%EXE% (
|
||||
echo ERROR: %SOFTWARE%\%EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
%EXE% /L=1033 /S
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo removing Desktop link ...
|
||||
del /F "%PUBLIC%\Desktop\VLC media player.lnk" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
|
Loading…
Reference in New Issue
Block a user