Replace Application.ProcessMessages with WizardForm.Refresh

Application is not available in Inno Setup Pascal Script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-03-03 17:12:19 -05:00
parent 1eb687c3ca
commit 5a3955b413

View File

@@ -897,7 +897,7 @@ begin
WizardForm.ProgressGauge.Position := GaugeStep;
WizardForm.StatusLabel.Caption := Msg;
WizardForm.FileNameLabel.Caption := '';
Application.ProcessMessages;
WizardForm.Refresh;
end;
// ─── Main installation ───────────────────────────────────────────────────────
@@ -1220,7 +1220,7 @@ begin
WizardForm.ProgressGauge.Position := WizardForm.ProgressGauge.Max;
WizardForm.StatusLabel.Caption := 'Installation complete.';
WizardForm.FileNameLabel.Caption := '';
Application.ProcessMessages;
WizardForm.Refresh;
// Save log
InstallLog.SaveToFile(LogPath);