removed go, python3 and vlc from autoinstall routine...

This commit is contained in:
Michael H.G. Schmidt 2022-12-27 21:06:09 +01:00
parent 20fa709fb0
commit 08b7304826
3 changed files with 76 additions and 0 deletions

23
optional/install-go.cmd Normal file
View 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 #######

View 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
View 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 #######