From 724714a1c566f1696a30505d77e56a91fd0d4215 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 5 Sep 2021 15:02:23 +0200 Subject: [PATCH] OBS studio added --- optional/install-obsstudio.cmd | 27 +++++++++++++++++++++++++++ optional/install-purebasic.cmd | 6 ++++++ optional/install-steam.cmd | 6 ++++++ optional/install-totalcommander.cmd | 7 +++++-- optional/install-virtualbox.cmd | 9 ++++++++- optional/install-vscode.cmd | 6 ++++++ optional/install-xnview.cmd | 11 +++++++++-- software/optional.csv | 1 + 8 files changed, 68 insertions(+), 5 deletions(-) create mode 100644 optional/install-obsstudio.cmd diff --git a/optional/install-obsstudio.cmd b/optional/install-obsstudio.cmd new file mode 100644 index 0000000..6155e3f --- /dev/null +++ b/optional/install-obsstudio.cmd @@ -0,0 +1,27 @@ +@echo off + +set EXE=..\software\obsstudio-setup.exe +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" + +if NOT EXIST %EXE% ( + echo ERROR: %EXE% not found! + pause + exit /b +) + +echo ####### %0 ####### + +echo installing OBS Studio ... +start /wait %EXE% /S + +echo moving OBS Studio startmenu shortcut ... +move /Y %STARTMENU%\"OBS Studio\OBS*.lnk" %STARTMENU% + +echo removing OBS Studio startmenu folder ... +rd /S /Q %STARTMENU%\"OBS Studio" 2>nul + +echo refreshing desktop (W10 style) ... +ie4uinit.exe -show + +echo ####### %0 ####### +pause diff --git a/optional/install-purebasic.cmd b/optional/install-purebasic.cmd index 1ea2ec4..130fe42 100644 --- a/optional/install-purebasic.cmd +++ b/optional/install-purebasic.cmd @@ -63,6 +63,12 @@ copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\PureBasic\PureBasic rem refresh desktop (W10 style) ie4uinit.exe -show +echo moving PureBasic startmenu shortcut ... +move /Y %STARTMENU%\"PureBasic\PureBasic (x64).lnk" %STARTMENU% + +echo removing PureBasic startmenu folder ... +rd /S /Q %STARTMENU%\"PureBasic" 2>nul + echo ####### %0 ####### :END pause diff --git a/optional/install-steam.cmd b/optional/install-steam.cmd index 674401f..9eecf4b 100644 --- a/optional/install-steam.cmd +++ b/optional/install-steam.cmd @@ -15,6 +15,12 @@ taskkill /F /IM steam.exe 2>nul echo installing STEAM ... start /wait %EXE% /S +echo moving STEAM startmenu shortcut ... +move /Y %STARTMENU%\"Steam\Steam.lnk" %STARTMENU% + +echo removing Steam startmenu folder ... +rd /S /Q %STARTMENU%\"Steam" 2>nul + echo ####### %0 ####### pause diff --git a/optional/install-totalcommander.cmd b/optional/install-totalcommander.cmd index 6940f59..c217074 100644 --- a/optional/install-totalcommander.cmd +++ b/optional/install-totalcommander.cmd @@ -20,8 +20,11 @@ rem ... stupid Total Commander is installing its links to user area ? WTF ? echo renaming and moving TotalCommander desktop link to public desktop ... move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\TCM.lnk" -echo moving start menu entries to public area ... -move /Y %STARTMENU_USER%\"Total Commander" %STARTMENU% 2>nul +echo moving Total Commander startmenu shortcut ... +move /Y %STARTMENU_USER%\"Total Commander\Total Commander 64 bit.lnk" %STARTMENU% + +echo removing Total Commander startmenu folder ... +rd /S /Q %STARTMENU_USER%\"Total Commander" 2>nul if EXIST %KEY% ( echo installing license ... diff --git a/optional/install-virtualbox.cmd b/optional/install-virtualbox.cmd index 32caae2..c9c1cc4 100644 --- a/optional/install-virtualbox.cmd +++ b/optional/install-virtualbox.cmd @@ -1,7 +1,8 @@ @echo off set EXE=..\software\virtualbox-setup.exe -set VBOXMANAGE="C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" +set VBOXMANAGE="%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" +set STARTMENU=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs" if NOT EXIST %EXE% ( echo ERROR: %EXE% not found! @@ -23,6 +24,12 @@ ie4uinit.exe -show echo disabling VirtualBox update search ... %VBOXMANAGE% setextradata global GUI/UpdateDate never +echo moving VirtualBox startmenu shortcut ... +move /Y %STARTMENU%\"Oracle VM VirtualBox\Oracle VM VirtualBox.lnk" %STARTMENU% + +echo removing VirtualBox startmenu folder ... +rd /S /Q %STARTMENU%\"Oracle VM VirtualBox" 2>nul + echo ####### %0 ####### pause diff --git a/optional/install-vscode.cmd b/optional/install-vscode.cmd index a4a35f4..af027fd 100644 --- a/optional/install-vscode.cmd +++ b/optional/install-vscode.cmd @@ -30,6 +30,12 @@ move /Y "%PUBLIC%\Desktop\Visual*.lnk" "%PUBLIC%\Desktop\VScode.lnk" rem refresh desktop (W10 style) ie4uinit.exe -show +echo moving VScode startmenu shortcut ... +move /Y %STARTMENU%\"Visual Studio Code\Visual*.lnk" %STARTMENU% + +echo removing VScode startmenu folder ... +rd /S /Q %STARTMENU%\"Visual Studio Code" 2>nul + rem NO updates here! FUCK YOU! echo disabling automatic updates via W10 firewall ... netsh advfirewall firewall delete rule name="block_vscode_updates" 2>nul diff --git a/optional/install-xnview.cmd b/optional/install-xnview.cmd index c1f7b96..43301ea 100644 --- a/optional/install-xnview.cmd +++ b/optional/install-xnview.cmd @@ -2,6 +2,7 @@ set CONFIG=config\install-xnview.txt set EXE=..\software\xnview-setup.exe +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" if NOT EXIST %EXE% ( echo ERROR: %EXE% not found! @@ -16,8 +17,14 @@ taskkill /F /IM xnviewmp.exe 2>nul echo installing XnView ... start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS -echo renaming and moving XnView desktop link ... -move /Y "%USERPROFILE%\Desktop\XnViewMP.lnk" "%PUBLIC%\Desktop" +echo removing XnView desktop link ... +del /F "%USERPROFILE%\Desktop\XnViewMP.lnk" + +echo moving XnView startmenu shortcut ... +move /Y %STARTMENU%\"XnViewMP\XnViewMP.lnk" %STARTMENU% + +echo removing XnView startmenu folder ... +rd /S /Q %STARTMENU%\"XnViewMP" 2>nul rem refresh desktop (W10 style) ie4uinit.exe -show diff --git a/software/optional.csv b/software/optional.csv index 0c8a6a9..f8cfef8 100644 --- a/software/optional.csv +++ b/software/optional.csv @@ -23,3 +23,4 @@ https://www.sonos.com/redir/controller_software_pc sonospc-setup.exe https://download.lenovo.com/consumer/mobiles/rescue_and_smart_assistant_v5.7.0.16_prod_setup.exe motorescue-setup.exe https://github.com/winauth/winauth/releases/download/3.5.1/WinAuth-3.5.1.zip winauth.zip https://swupdate.openvpn.net/as/clients/openvpn-connect-2.7.1.111_signed.msi openvpn-setup.msi +https://cdn-fastly.obsproject.com/downloads/OBS-Studio-27.0.1-Full-Installer-x64.exe obsstudio-setup.exe