From 08b73048266f5bf02f09562eef289d9b298e5f7f Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Tue, 27 Dec 2022 21:06:09 +0100 Subject: [PATCH] removed go, python3 and vlc from autoinstall routine... --- optional/install-go.cmd | 23 +++++++++++++++++++++++ optional/install-python.cmd | 23 +++++++++++++++++++++++ optional/install-vlc.cmd | 30 ++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 optional/install-go.cmd create mode 100644 optional/install-python.cmd create mode 100644 optional/install-vlc.cmd diff --git a/optional/install-go.cmd b/optional/install-go.cmd new file mode 100644 index 0000000..ca8042c --- /dev/null +++ b/optional/install-go.cmd @@ -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 ####### + diff --git a/optional/install-python.cmd b/optional/install-python.cmd new file mode 100644 index 0000000..5271fa8 --- /dev/null +++ b/optional/install-python.cmd @@ -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 ####### + diff --git a/optional/install-vlc.cmd b/optional/install-vlc.cmd new file mode 100644 index 0000000..ebad3c5 --- /dev/null +++ b/optional/install-vlc.cmd @@ -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 ####### +