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