Explorar o código

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

Martijn Laan hai 1 ano
pai
achega
80adf8bb59
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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>