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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user