Skip to content

Commit

Permalink
WinGui: Use ExecWait instead of Exec for the installer. This should p…
Browse files Browse the repository at this point in the history
…revent the install from continuing until the uninstall process has completed.
  • Loading branch information
sr55 committed Aug 26, 2017
1 parent 4fea60e commit a69fb17
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions win/CS/HandBrakeWPF/Installer/Installer.nsi
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions win/CS/HandBrakeWPF/Installer/Installer64.nsi
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
Expand Up @@ -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

Expand Down

0 comments on commit a69fb17

Please sign in to comment.