Skip to content

Commit

Permalink
installer: run the uninstaller in very silent mode
Browse files Browse the repository at this point in the history
No need to let the user interfere at this phase...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Sep 1, 2016
1 parent 955e82b commit 6682a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ begin
if RegQueryStringValue(Domain,Key,'UninstallString',UninstallString) then
// Using ShellExec() here, in case privilege elevation is required
if not ShellExec('',UninstallString,'/SILENT /NORESTART /SUPPRESSMSGBOXES','',SW_HIDE,ewWaitUntilTerminated,ErrorCode) then
if not ShellExec('',UninstallString,'/VERYSILENT /SILENT /NORESTART /SUPPRESSMSGBOXES','',SW_HIDE,ewWaitUntilTerminated,ErrorCode) then
LogError('Could not uninstall previous version. Trying to continue anyway.');
end;
end;
Expand Down

0 comments on commit 6682a86

Please sign in to comment.