diff --git a/dart_x64_dev_setup.iss b/dart_x64_dev_setup.iss index be71de2..67b392b 100644 --- a/dart_x64_dev_setup.iss +++ b/dart_x64_dev_setup.iss @@ -218,7 +218,14 @@ begin LatestLabel := TNewStaticText.Create(WizardForm); LatestLabel.Parent := Page.Surface; LatestLabel.Caption := FmtMessage(CustomMessage('DartLatestVersion'), [CurrentVersion]); - WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16; + if Wizardform.ReadyMemo.Lines.Count > 0 then + begin + WizardForm.ReadyLabel.Caption := ''; + end + else + begin + WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16; + end end end; // If the user just reached the Installing page, then... diff --git a/dart_x64_stable_setup.iss b/dart_x64_stable_setup.iss index 9cb4e59..09f8799 100644 --- a/dart_x64_stable_setup.iss +++ b/dart_x64_stable_setup.iss @@ -219,7 +219,14 @@ begin LatestLabel := TNewStaticText.Create(WizardForm); LatestLabel.Parent := Page.Surface; LatestLabel.Caption := FmtMessage(CustomMessage('DartLatestVersion'), [CurrentVersion]); - WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16; + if Wizardform.ReadyMemo.Lines.Count > 0 then + begin + WizardForm.ReadyLabel.Caption := ''; + end + else + begin + WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16; + end end end; // If the user just reached the Installing page, then...