2
0
Эх сурвалжийг харах

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

Martijn Laan 1 жил өмнө
parent
commit
80adf8bb59
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  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>