Browse Source

Fix DisableReadyPage topic, see https://stackoverflow.com/a/35104681/301485

Martijn Laan 1 năm trước cách đây
mục cha
commit
80adf8bb59
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      ISHelp/isetup.xml

+ 3 - 1
ISHelp/isetup.xml

@@ -4366,8 +4366,10 @@ DisableReadyPage=yes
 [Code]
 procedure CurPageChanged(CurPageID: Integer);
 begin
-  if CurPageID = wpSelectProgramGroup then
+  if CurPageID in [wpSelectProgramGroup, wpReady] then
     WizardForm.NextButton.Caption := SetupMessage(msgButtonInstall)
+  else if CurPageID = wpFinished then
+    WizardForm.NextButton.Caption := SetupMessage(msgButtonFinish)
   else
     WizardForm.NextButton.Caption := SetupMessage(msgButtonNext);
 end;</pre></example>