summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-08-26 21:15:14 +0100
committersr55 <[email protected]>2017-08-26 21:15:14 +0100
commita69fb175e95b6600b90b6c5c6fc68a77539cde00 (patch)
tree948104e210126382a0c181b6449c40bb4f7d6a24 /win/CS
parent4fea60efbcc3108d72dd909048f1586f99f71ca4 (diff)
WinGui: Use ExecWait instead of Exec for the installer. This should prevent the install from continuing until the uninstall process has completed.
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/Installer/Installer.nsi4
-rw-r--r--win/CS/HandBrakeWPF/Installer/Installer64.nsi4
-rw-r--r--win/CS/HandBrakeWPF/Installer/MakeNightly.nsi4
-rw-r--r--win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi4
4 files changed, 8 insertions, 8 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/Installer.nsi b/win/CS/HandBrakeWPF/Installer/Installer.nsi
index 15f1b10e8..fdc8ea9a1 100644
--- a/win/CS/HandBrakeWPF/Installer/Installer.nsi
+++ b/win/CS/HandBrakeWPF/Installer/Installer.nsi
@@ -99,9 +99,9 @@ Function .onInit
;Run the uninstaller
uninst:
IfSilent +3
- Exec $INSTDIR\uninst.exe
+ ExecWait $INSTDIR\uninst.exe
goto done
- Exec '"$INSTDIR\uninst.exe" /S'
+ ExecWait '"$INSTDIR\uninst.exe" /S'
done:
FunctionEnd
diff --git a/win/CS/HandBrakeWPF/Installer/Installer64.nsi b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
index f1a41a07a..5b7538528 100644
--- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
@@ -99,9 +99,9 @@ Function .onInit
;Run the uninstaller
uninst:
IfSilent +3
- Exec $INSTDIR\uninst.exe
+ ExecWait $INSTDIR\uninst.exe
goto done
- Exec '"$INSTDIR\uninst.exe" /S'
+ ExecWait '"$INSTDIR\uninst.exe" /S'
done:
FunctionEnd
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
index 0d9f15235..4d19fff81 100644
--- a/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
+++ b/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
@@ -99,9 +99,9 @@ Function .onInit
;Run the uninstaller
uninst:
IfSilent +3
- Exec $INSTDIR\uninst.exe
+ ExecWait $INSTDIR\uninst.exe
goto done
- Exec '"$INSTDIR\uninst.exe" /S'
+ ExecWait '"$INSTDIR\uninst.exe" /S'
done:
FunctionEnd
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
index dc6d134ee..0c10bd7d3 100644
--- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
@@ -98,9 +98,9 @@ Function .onInit
;Run the uninstaller
uninst:
IfSilent +3
- Exec $INSTDIR\uninst.exe
+ ExecWait $INSTDIR\uninst.exe
goto done
- Exec '"$INSTDIR\uninst.exe" /S'
+ ExecWait '"$INSTDIR\uninst.exe" /S'
done:
FunctionEnd