Martijn Laan 6 年之前
父節點
當前提交
844f7ad561
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Examples/AllPagesExample.iss

+ 1 - 1
Examples/AllPagesExample.iss

@@ -49,6 +49,6 @@ end;
 
 function PrepareToInstall(var NeedsRestart: Boolean): String;
 begin
-  if MsgBox('Do you want to stop Setup at the Preparing To Install wizard page?', mbConfirmation, MB_YESNO) = IDYES then
+  if SuppressibleMsgBox('Do you want to stop Setup at the Preparing To Install wizard page?', mbConfirmation, MB_YESNO, IDNO) = IDYES then
     Result := 'Stopped by user';
 end;