答案 0 :(得分:6)
InitializeWizard
event function
[Code]
procedure InitializeWizard();
var
VersionLabel: TNewStaticText;
begin
VersionLabel := TNewStaticText.Create(WizardForm);
VersionLabel.Caption := Format('Version: %s', ['{#SetupSetting("AppVersion")}']);
VersionLabel.Parent := WizardForm;
VersionLabel.Left := ScaleX(16);
VersionLabel.Top :=
WizardForm.BackButton.Top +
(WizardForm.BackButton.Height div 2) -
(VersionLabel.Height div 2)
end;