From 714a590f98776b6c1a33e0ebbc7366c2b7189758 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Fri, 27 Jan 2023 16:36:38 +0100 Subject: [PATCH] added heidisql --- optional/config/install-heidisql.txt | 6 +++++ optional/install-antivir.cmd | 2 +- optional/install-bluejeans.cmd | 2 +- optional/install-heidisql.cmd | 33 ++++++++++++++++++++++++++++ optional/install-openvpn.cmd | 2 +- optional/install-pdf24.cmd | 4 ++-- optional/install-vcesimulator.cmd | 4 ++-- optional/install-vncserver.cmd | 2 +- optional/install-vscode.cmd | 2 +- software/optional.csv | 1 + software/other.csv | 1 + 11 files changed, 50 insertions(+), 9 deletions(-) create mode 100644 optional/config/install-heidisql.txt create mode 100644 optional/install-heidisql.cmd diff --git a/optional/config/install-heidisql.txt b/optional/config/install-heidisql.txt new file mode 100644 index 0000000..4af30fe --- /dev/null +++ b/optional/config/install-heidisql.txt @@ -0,0 +1,6 @@ +[Setup] +Lang=en +Dir=C:\Program Files\HeidiSQL +Group=HeidiSQL +NoIcons=0 +Tasks=desktopicon,associatesqlfiles diff --git a/optional/install-antivir.cmd b/optional/install-antivir.cmd index 86f4bf2..b2b9e42 100644 --- a/optional/install-antivir.cmd +++ b/optional/install-antivir.cmd @@ -15,7 +15,7 @@ echo installing F-Secure Anti-Virus ... start /wait %EXE% echo removing F-Secure desktop link ... -del /F "%PUBLIC%\Desktop\F-Secure Anti-Virus.lnk" 2>nul +del /F /Q "%PUBLIC%\Desktop\F-Secure Anti-Virus.lnk" 2>nul rem refresh desktop (W10 style) ie4uinit.exe -show diff --git a/optional/install-bluejeans.cmd b/optional/install-bluejeans.cmd index aae03ef..036dd31 100644 --- a/optional/install-bluejeans.cmd +++ b/optional/install-bluejeans.cmd @@ -21,7 +21,7 @@ msiexec /i %MSI% INSTALLAUDIODRIVER=1 INSTALLUPDATESVC=0 LAUNCHAFTERINSTALL=0 /q cd %OPT% echo removing Desktop icon ... -del /F "%USERPROFILE%\Desktop\BlueJeans.lnk" 2>nul +del /F /Q "%USERPROFILE%\Desktop\BlueJeans.lnk" 2>nul echo removing autostart for BlueJeans-Client ... reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^ diff --git a/optional/install-heidisql.cmd b/optional/install-heidisql.cmd new file mode 100644 index 0000000..1687fe5 --- /dev/null +++ b/optional/install-heidisql.cmd @@ -0,0 +1,33 @@ +@echo off +call check-for-admin +if %ERRORLEVEL% neq 0 exit /b + +set CONFIG=config\install-heidisql.txt +set EXE=..\software\heidisql-setup.exe +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" + +if NOT EXIST %EXE% ( + echo ERROR: %EXE% not found! + exit /b +) + +echo ####### %0 ####### + +echo installing Heidi SQL ... +start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS + +echo moving HeidiSQL startmenu shortcut ... +move /Y %STARTMENU%\"HeidiSQL\HeidiSQL.lnk" %STARTMENU% + +echo moving HeidiSQL desktop shortcut ... +move /Y "%USERPROFILE%\Desktop\HeidiSQL.lnk" "%PUBLIC%\Desktop" + +echo cleanup ... +rd /S /Q %STARTMENU%\"HeidiSQL" + +rem refresh desktop (W10 style) +ie4uinit.exe -show + +echo ####### %0 ####### +pause + diff --git a/optional/install-openvpn.cmd b/optional/install-openvpn.cmd index 4a7f321..53d8d72 100644 --- a/optional/install-openvpn.cmd +++ b/optional/install-openvpn.cmd @@ -21,7 +21,7 @@ msiexec /i %MSI% /q cd %OPT% echo removing Desktop icon ... -del /F "%PUBLIC%\Desktop\OpenVPN Connect.lnk" 2>nul +del /F /Q "%PUBLIC%\Desktop\OpenVPN Connect.lnk" 2>nul echo refreshing desktop (W10 style) ... ie4uinit.exe -show diff --git a/optional/install-pdf24.cmd b/optional/install-pdf24.cmd index 01509bb..6294095 100644 --- a/optional/install-pdf24.cmd +++ b/optional/install-pdf24.cmd @@ -25,8 +25,8 @@ echo tweaking PDF24 ... reg import %CONFIG% echo removing Desktop icons ... -del /F "%PUBLIC%\Desktop\PDF24.lnk" 2>nul -del /F "%USERPROFILE%\Desktop\Online PDF Tools.url" 2>nul +del /F /Q "%PUBLIC%\Desktop\PDF24.lnk" 2>nul +del /F /Q "%USERPROFILE%\Desktop\Online PDF Tools.url" 2>nul echo refreshing desktop (W10 style) ... ie4uinit.exe -show diff --git a/optional/install-vcesimulator.cmd b/optional/install-vcesimulator.cmd index c75afb3..7fef814 100644 --- a/optional/install-vcesimulator.cmd +++ b/optional/install-vcesimulator.cmd @@ -17,8 +17,8 @@ echo installing VCE Simulator 2 ... start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS echo cleanup ... -del /F %STARTMENU%\"VCE Exam Simulator\VCE Exam Simulator on the Web.url" 2>nul -del /F %STARTMENU%\"VCE Exam Simulator\Uninstall VCE Exam Simulator.lnk" 2>nul +del /F /Q %STARTMENU%\"VCE Exam Simulator\VCE Exam Simulator on the Web.url" 2>nul +del /F /Q %STARTMENU%\"VCE Exam Simulator\Uninstall VCE Exam Simulator.lnk" 2>nul rem refresh desktop (W10 style) ie4uinit.exe -show diff --git a/optional/install-vncserver.cmd b/optional/install-vncserver.cmd index 8d826c4..0f6f511 100644 --- a/optional/install-vncserver.cmd +++ b/optional/install-vncserver.cmd @@ -20,7 +20,7 @@ msiexec /i %MSI% /qn @echo off echo cleanup ... -del /F %STARTMENU%\"TightVNC\Visit TightVNC Web Site.lnk" 2>nul +del /F /Q %STARTMENU%\"TightVNC\Visit TightVNC Web Site.lnk" 2>nul echo ####### %0 ####### diff --git a/optional/install-vscode.cmd b/optional/install-vscode.cmd index 34bf1a5..28fda42 100644 --- a/optional/install-vscode.cmd +++ b/optional/install-vscode.cmd @@ -20,7 +20,7 @@ echo killing VisualStudio code processes... taskkill /F /IM Code.exe 2>nul echo cleanup ... -del /F "%PUBLIC%\Desktop\VScode.lnk" 2>nul +del /F /Q "%PUBLIC%\Desktop\VScode.lnk" 2>nul echo installing Visual Studio CODE ... start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS diff --git a/software/optional.csv b/software/optional.csv index f3c57c4..f033d90 100644 --- a/software/optional.csv +++ b/software/optional.csv @@ -35,4 +35,5 @@ https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.51.1/KeePass-2.51 https://download3.pdf24.org/pdf24-creator-11.1.0.msi pdf24-setup.msi https://static.tp-link.com/2019/201911/20191115/Archer-T5E(UN)_V1_191116_Bluetooth.zip archerT5E-bluetooth.zip https://static.tp-link.com/2019/201911/20191115/Archer-T5E(UN)_V1_191116_Wi-Fi.zip archerT5E-wifi.zip +https://www.heidisql.com/installers/HeidiSQL_12.3.0.6589_Setup.exe heidisql-setup.exe diff --git a/software/other.csv b/software/other.csv index ac83bed..9a173a0 100644 --- a/software/other.csv +++ b/software/other.csv @@ -9,3 +9,4 @@ dummy brother-dcpl6600dw-drivers.EXE dummy Win10_20H2_English_x64.iso dummy vce_exam_simulator_setup.exe dummy iview-plugins.zip +