From 9a940568ae188b4ddc422c9e3b01ddecda47aded Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Thu, 26 Jan 2023 11:13:20 +0100 Subject: [PATCH] . --- optional/install-emclient.cmd | 6 ++++++ optional/install-pdf24.cmd | 6 ++++++ optional/install-softmaker.cmd | 6 ++++++ optional/install-vlc.cmd | 7 +++++++ optional/install-vscode.cmd | 6 ++++++ {optional => scripts}/block-updates.cmd | 0 scripts/disable-meetnow.cmd | 1 - scripts/disable-soundscheme.ps1 | 2 +- scripts/disable-updates.cmd | 1 - {optional => scripts}/install-psupdate.cmd | 0 scripts/settings.cmd | 2 +- scripts/unpack-7zip.cmd | 1 + scripts/unpack-zipfiles.cmd | 6 ++++++ software/basic.csv | 1 + 14 files changed, 41 insertions(+), 4 deletions(-) rename {optional => scripts}/block-updates.cmd (100%) rename {optional => scripts}/install-psupdate.cmd (100%) diff --git a/optional/install-emclient.cmd b/optional/install-emclient.cmd index d790907..9b6fa1e 100644 --- a/optional/install-emclient.cmd +++ b/optional/install-emclient.cmd @@ -42,5 +42,11 @@ netsh advfirewall firewall add rule name="block_emclient_updates" ^ echo. echo ####### %0 ####### + +rem set filetypes ... +if EXIST ..\scripts\set-filetypes.cmd ( + call ..\scripts\set-filetypes.cmd +) + pause diff --git a/optional/install-pdf24.cmd b/optional/install-pdf24.cmd index 1b93a47..01509bb 100644 --- a/optional/install-pdf24.cmd +++ b/optional/install-pdf24.cmd @@ -32,5 +32,11 @@ echo refreshing desktop (W10 style) ... ie4uinit.exe -show echo ####### %0 ####### + +rem set filetypes ... +if EXIST ..\scripts\set-filetypes.cmd ( + call ..\scripts\set-filetypes.cmd +) + pause diff --git a/optional/install-softmaker.cmd b/optional/install-softmaker.cmd index 1eedb1d..103488f 100644 --- a/optional/install-softmaker.cmd +++ b/optional/install-softmaker.cmd @@ -137,5 +137,11 @@ if softmaker_license == 0 ( ) echo ####### %0 ####### + +rem set filetypes ... +if EXIST ..\scripts\set-filetypes.cmd ( + call ..\scripts\set-filetypes.cmd +) + pause diff --git a/optional/install-vlc.cmd b/optional/install-vlc.cmd index d77326c..3a153ce 100644 --- a/optional/install-vlc.cmd +++ b/optional/install-vlc.cmd @@ -35,3 +35,10 @@ ie4uinit.exe -show echo ####### %0 ####### +rem set filetypes ... +if EXIST ..\scripts\set-filetypes.cmd ( + call ..\scripts\set-filetypes.cmd +) + +pause + diff --git a/optional/install-vscode.cmd b/optional/install-vscode.cmd index 78d7701..34bf1a5 100644 --- a/optional/install-vscode.cmd +++ b/optional/install-vscode.cmd @@ -46,5 +46,11 @@ netsh advfirewall firewall add rule name="block_vscode_updates" ^ remoteport=80,443 program="%ProgramFiles%\Microsoft VS Code\Code.exe" echo ####### %0 ####### + +rem set filetypes ... +if EXIST ..\scripts\set-filetypes.cmd ( + call ..\scripts\set-filetypes.cmd +) + pause diff --git a/optional/block-updates.cmd b/scripts/block-updates.cmd similarity index 100% rename from optional/block-updates.cmd rename to scripts/block-updates.cmd diff --git a/scripts/disable-meetnow.cmd b/scripts/disable-meetnow.cmd index db83778..7178d3d 100644 --- a/scripts/disable-meetnow.cmd +++ b/scripts/disable-meetnow.cmd @@ -5,7 +5,6 @@ echo ####### %0 ####### echo disabling MeetNow for ALL users ... reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" ^ /v "HideSCAMeetNow" /d 1 /t REG_DWORD /f -echo FUCK YOU MICROSOFT ! echo ####### %0 ####### diff --git a/scripts/disable-soundscheme.ps1 b/scripts/disable-soundscheme.ps1 index e28c572..6cdb3dd 100644 --- a/scripts/disable-soundscheme.ps1 +++ b/scripts/disable-soundscheme.ps1 @@ -1,4 +1,4 @@ -# disable FUCKING windows bell in cmd.exe ... +# disable windows bell in cmd.exe ... write-host '#######',(split-path $PSCommandPath -Leaf),'#######' Write-Host "Disabling all windows sounds ..." -foregroundcolor red diff --git a/scripts/disable-updates.cmd b/scripts/disable-updates.cmd index bde6fa9..c854be3 100644 --- a/scripts/disable-updates.cmd +++ b/scripts/disable-updates.cmd @@ -5,7 +5,6 @@ echo ####### %0 ####### echo disabling UPDATES for ALL users ... %TOOLS%\wub.exe /D /P -echo FUCK YOU MICROSOFT ! echo ####### %0 ####### diff --git a/optional/install-psupdate.cmd b/scripts/install-psupdate.cmd similarity index 100% rename from optional/install-psupdate.cmd rename to scripts/install-psupdate.cmd diff --git a/scripts/settings.cmd b/scripts/settings.cmd index 010e025..9cfac13 100644 --- a/scripts/settings.cmd +++ b/scripts/settings.cmd @@ -1,5 +1,5 @@ set LANG=de-DE -set windows_updates=0 +set windows_updates=1 set windows_targetrelease=2009 set logon_logo=1 set install_firefox=1 diff --git a/scripts/unpack-7zip.cmd b/scripts/unpack-7zip.cmd index 55adf06..4e6286f 100644 --- a/scripts/unpack-7zip.cmd +++ b/scripts/unpack-7zip.cmd @@ -27,3 +27,4 @@ del /S /Q /A %T%\%MSI% 1>nul 2>nul rd /S /Q %T%\Files echo ####### %0 ####### + diff --git a/scripts/unpack-zipfiles.cmd b/scripts/unpack-zipfiles.cmd index ff61d60..93fea1a 100644 --- a/scripts/unpack-zipfiles.cmd +++ b/scripts/unpack-zipfiles.cmd @@ -32,6 +32,7 @@ for %%A in ( wgetdeps winscp wub + wumgr ) do ( @@ -155,6 +156,11 @@ move /Y %T%\wub\wub_x64.exe %TOOLS%\wub.exe rd /S /Q %T%\wub echo. +echo WUMGR - Windows update manager +move /Y %T%\wumgr\wumgr.exe %TOOLS%\wumgr.exe +rd /S /Q %T%\wumgr +echo. + echo +++++++++++++++++++++++ echo ++++ Android tools ++++ echo +++++++++++++++++++++++ diff --git a/software/basic.csv b/software/basic.csv index 8200450..f4d1799 100644 --- a/software/basic.csv +++ b/software/basic.csv @@ -36,4 +36,5 @@ https://mark0.net/download/trid_w32.zip trid.zip https://mark0.net/download/triddefs.zip triddefs.zip https://github.com/microsoft/terminal/releases/download/v1.10.2383.0/Microsoft.WindowsTerminal_1.10.2383.0_8wekyb3d8bbwe.msixbundle windowsterminal-setup.msixbundle https://kolbi.cz/SetDefaultBrowser.zip setdefaultbrowser.zip +https://github.com/DavidXanatos/wumgr/releases/download/v1.1/WuMgr_v1.1b.zip wumgr.zip