Skip to content
Snippets Groups Projects
Unverified Commit 498139be authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[pkg] fail-safe for uninstaller

parent b3ad57b7
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,13 @@ Section /o "TAP Virtual Ethernet Adapter" SecTAP
SectionEnd
Section "Uninstall"
ExecShellWait "runas" "$INSTDIR\bitmask_helper.exe" 'remove'
; this could fail: uninstalling old nssm helper
ExecShellWait "runas" '"$INSTDIR\nssm.exe" stop $applicationNameLower-helper'
ExecShellWait "runas" '"$INSTDIR\nssm.exe" remove $applicationNameLower-helper confirm'
; now we uninstall the new-style go helper
ExecShellWait "runas" '"$INSTDIR\bitmask_helper.exe" remove'
Delete $INSTDIR\readme.txt
Delete $INSTDIR\helper.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment