From 3bb58ea50ca75bbc2042a2b752c48986d28d956f Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Fri, 21 Jan 2022 11:11:44 +0200 Subject: [PATCH] better taskkill that matches the background process ipscan.exe and specifies to kill it's child process, javaw --- ext/win-installer/Installer/Installer.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/win-installer/Installer/Installer.nsi b/ext/win-installer/Installer/Installer.nsi index 2fb18408..a51e0e1b 100644 --- a/ext/win-installer/Installer/Installer.nsi +++ b/ext/win-installer/Installer/Installer.nsi @@ -149,7 +149,7 @@ FunctionEnd ;Uninstaller section Section "Uninstall" - ExecWait 'TaskKill /F /FI "WindowTitle eq IP *"' + ExecWait 'TaskKill /IM ipscan.exe /T /F' RMDir /r "$INSTDIR" Delete "$SMPROGRAMS\${ApplicationName}.lnk"