From 45eb3c4edfea2881c9f7a5a1b18b9bdfc9c29d4c Mon Sep 17 00:00:00 2001 From: malte Date: Tue, 3 Nov 2020 18:36:49 +0100 Subject: [PATCH] added more automation --- BATCH/amelioration_2004.bat | 45 ++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/BATCH/amelioration_2004.bat b/BATCH/amelioration_2004.bat index 8a3d127..2154403 100644 --- a/BATCH/amelioration_2004.bat +++ b/BATCH/amelioration_2004.bat @@ -654,26 +654,51 @@ SET cSctVBS=CreateShortcut.vbs cscript //nologo .\!cSctVBS! DEL !cSctVBS! /f /q +del silent_installers.7z > NUL 2>&1 +del OldNewExplorerCfg.exe > NUL 2>&1 +del OldCalculatorforWindows10Cfg.exe > NUL 2>&1 +del hardentoolsCfg.exe > NUL 2>&1 :: Download and configure OldNewExplorer cls echo. -echo :: Configuring OldNewExplorer +echo :: Installing Third Party Programs echo. echo Downloading... -wget -O oldnewexplorercfg.exe https://wiki.bagelbiter.cat/lib/exe/fetch.php?media=os:oldnewexplorercfg.exe > NUL 2>&1 +wget -O silent_installers.7z https://wiki.ameliorated.info/lib/exe/fetch.php?media=silent_installers.7z > NUL 2>&1 cls echo. -echo :: Configuring OldNewExplorer +echo :: Installing Third Party Programs +echo. +echo Extracting... +7z x silent_installers.7z > NUL 2>&1 +cls +echo. +echo :: Installing OldNewExplorer echo. echo Installing, please wait... -start oldnewexplorercfg.exe > NUL 2>&1 -timeout /t 20 /NOBREAK +start OldNewExplorerCfg.exe > NUL 2>&1 +timeout /t 15 /nobreak taskkill /f /im explorer.exe > NUL 2>&1 -taskkill /f /im oldnewexplorercfg.exe > NUL 2>&1 -start oldnewexplorercfg.exe > NUL 2>&1 -timeout /t 20 /NOBREAK -taskkill /f /im oldnewexplorercfg.exe > NUL 2>&1 -del oldnewexplorercfg.exe > NUL 2>&1 +taskkill /f /im OldNewExplorerCfg.exe > NUL 2>&1 +start OldNewExplorerCfg.exe > NUL 2>&1 +timeout /t 15 /nobreak +taskkill /f /im OldNewExplorerCfg.exe > NUL 2>&1 +del OldNewExplorerCfg.exe > NUL 2>&1 +cls +echo. +echo :: Installing Old Calculator for Windows 10 +echo. +start OldCalculatorforWindows10Cfg.exe > NUL 2>&1 +timeout /t 10 /nobreak +del OldCalculatorforWindows10Cfg.exe > NUL 2>&1 +cls +echo. +echo :: Installing hardentools +echo. +start hardentoolsCfg.exe > NUL 2>&1 +timeout /t 60 /nobreak +del hardentoolsCfg.exe > NUL 2>&1 +reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSuperHidden /t REG_DWORD /d 0 /f > NUL 2>&1 goto reboot