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.ProgressGauge.Position := GaugeStep;
|
||||||
WizardForm.StatusLabel.Caption := Msg;
|
WizardForm.StatusLabel.Caption := Msg;
|
||||||
WizardForm.FileNameLabel.Caption := '';
|
WizardForm.FileNameLabel.Caption := '';
|
||||||
Application.ProcessMessages;
|
WizardForm.Refresh;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// ─── Main installation ───────────────────────────────────────────────────────
|
// ─── Main installation ───────────────────────────────────────────────────────
|
||||||
@@ -1220,7 +1220,7 @@ begin
|
|||||||
WizardForm.ProgressGauge.Position := WizardForm.ProgressGauge.Max;
|
WizardForm.ProgressGauge.Position := WizardForm.ProgressGauge.Max;
|
||||||
WizardForm.StatusLabel.Caption := 'Installation complete.';
|
WizardForm.StatusLabel.Caption := 'Installation complete.';
|
||||||
WizardForm.FileNameLabel.Caption := '';
|
WizardForm.FileNameLabel.Caption := '';
|
||||||
Application.ProcessMessages;
|
WizardForm.Refresh;
|
||||||
|
|
||||||
// Save log
|
// Save log
|
||||||
InstallLog.SaveToFile(LogPath);
|
InstallLog.SaveToFile(LogPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user