summaryrefslogtreecommitdiff
path: root/branding
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-04-24 20:24:40 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-04-30 22:10:32 +0200
commit37ed577a6b8de8a43fb67f30e7a0c7460a4c04a9 (patch)
tree19fdc637d4f228932ebcf4e20d7be76a7d116bf3 /branding
parenta14b4ac6507b65d9b2d5e22ff89cf89c689cd936 (diff)
[bug] stop/remove new, renamed service
Diffstat (limited to 'branding')
-rwxr-xr-xbranding/templates/windows/template.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/branding/templates/windows/template.nsi b/branding/templates/windows/template.nsi
index 9c319d0..e3b2379 100755
--- a/branding/templates/windows/template.nsi
+++ b/branding/templates/windows/template.nsi
@@ -63,6 +63,9 @@ Section "InstallFiles"
DetailPrint "Trying to uninstall new helper..."
ClearErrors
+ ExecWait '"$INSTDIR\helper.exe" stop'
+ ExecWait '"$INSTDIR\helper.exe" remove'
+ ClearErrors
Delete 'C:\Program Files\$applicationName\helper.exe'
IfErrors 0 noErrorHelper