summaryrefslogtreecommitdiff
path: root/branding/templates/windows
diff options
context:
space:
mode:
Diffstat (limited to 'branding/templates/windows')
-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