better taskkill that matches the background process ipscan.exe and specifies to kill it's child process, javaw

This commit is contained in:
Anton Keks 2022-01-21 11:11:44 +02:00
parent b8bb524399
commit 3bb58ea50c

View File

@ -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"