Skip to content

Commit

Permalink
Supressible msgboxes in setup with cmdline /silent /suppressmsgboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
KindDragon committed Feb 23, 2016
1 parent e0221e0 commit 03c1412
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup/vld-setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Visual Leak Detector"
#define MyAppVersion "2.5"
#define MyAppVersion "2.5.1"
#define MyAppPublisher "VLD Team"
#define MyAppURL "http://vld.codeplex.com/"
#define MyAppRegKey "Software\Visual Leak Detector"
Expand Down Expand Up @@ -119,8 +119,8 @@ begin
// default return value
Result := False;
if MsgBox('VLD is already installed. Uninstall the current version?',
mbConfirmation, MB_YESNO) = IDYES then
if SuppressibleMsgBox('VLD is already installed. Uninstall the current version?',
mbConfirmation, MB_YESNO, IDYES) = IDYES then
begin
regPath := RemoveQuotes(regPath);
if Exec(regPath, params,'', SW_HIDE, ewWaitUntilTerminated, iResultCode) then
Expand Down Expand Up @@ -457,5 +457,5 @@ begin
Result := True;
if CurPageID = wpReady then
Msgbox('Please close Visual Studio before starting the installation.', mbInformation, MB_OK);
SuppressibleMsgBox('Please close Visual Studio before starting the installation.', mbInformation, MB_OK, IDOK);
end;

0 comments on commit 03c1412

Please sign in to comment.