From bf3b9ccd00df5928cc9e4faf3dad826687964fd1 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 13 Aug 2023 14:42:56 +0200 Subject: [PATCH] added wireshark, fixed issue #118 --- optional/install-emclient.cmd | 11 ++++++++--- optional/install-mame.cmd | 2 +- optional/install-purebasic.cmd | 2 +- software/optional.csv | 1 + 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/optional/install-emclient.cmd b/optional/install-emclient.cmd index 9b6fa1e..8f42af6 100644 --- a/optional/install-emclient.cmd +++ b/optional/install-emclient.cmd @@ -5,7 +5,7 @@ if %ERRORLEVEL% neq 0 exit /b set OPT=..\optional set SOFTWARE=..\software set MSI=emclient-setup.msi -set EMSERVERIP=168.62.48.183 +set EMSERVERIP=104.22.21.185,172.67.15.154,104.22.20.185 if NOT EXIST %SOFTWARE%\%MSI% ( echo ERROR: %SOFTWARE%\%MSI% not found! @@ -35,11 +35,16 @@ echo refreshing desktop ... ie4uinit.exe -show echo disabling automatic updates via W10 firewall ... +rem delete old rule ... netsh advfirewall firewall delete rule name="block_emclient_updates" 2>nul + +rem create new rule ... netsh advfirewall firewall add rule name="block_emclient_updates" ^ dir=out action=block protocol=tcp localip=any remoteip=%EMSERVERIP% ^ - remoteport=80,443 program="%ProgramFiles(x86)%\eM Client\MailClient.exe" -echo. + remoteport=80,443 program="%ProgramFiles(x86)%\eM Client\MailClient.exe" 1>nul 2>nul + +rem show new rule ... +netsh advfirewall firewall show rule name="block_emclient_updates" echo ####### %0 ####### diff --git a/optional/install-mame.cmd b/optional/install-mame.cmd index 6b78bc2..91e694e 100644 --- a/optional/install-mame.cmd +++ b/optional/install-mame.cmd @@ -2,7 +2,7 @@ call check-for-admin if %ERRORLEVEL% neq 0 exit /b -set T=c:\TEMP +set T=%SystemDrive%\TEMP set ZIP=..\software\mame64.7z set TARGET=c:\MAME set CONFIG=config\mame.ini diff --git a/optional/install-purebasic.cmd b/optional/install-purebasic.cmd index 67afd26..dab6d0f 100644 --- a/optional/install-purebasic.cmd +++ b/optional/install-purebasic.cmd @@ -2,7 +2,7 @@ call check-for-admin if %ERRORLEVEL% neq 0 exit /b -set T=c:\TEMP +set T=%SystemDrive%\TEMP set CONFIG=config\install-purebasic.txt set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" diff --git a/software/optional.csv b/software/optional.csv index 86289a4..257ad1a 100644 --- a/software/optional.csv +++ b/software/optional.csv @@ -36,3 +36,4 @@ https://static.tp-link.com/2019/201911/20191115/Archer-T5E(UN)_V1_191116_Bluetoo 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 https://github.com/jgraph/drawio-desktop/releases/download/v21.6.5/draw.io-21.6.5.msi drawio-setup.msi +https://2.na.dl.wireshark.org/win64/Wireshark-win64-4.0.7.exe wireshark-setup.exe