I want to change (in code) the text of certain labels on the WizardForm
of the installer which are NOT exposed by the WizardForm
.
Example:
ReadyLabel2a=Click Install to continue with the installation, or click Back if you want to review or change any settings.
I cannot do WizardForm.ReadyLabel2a.Caption := 'BLAH';
as the compiler complains about unknown identifier ReadyLabel2a
.
Is there a way to do it?
Thanks
All components of the installer wizard form are exposed.
The label is ReadyLabel
, not ReadyLabel2a
. The ReadyLabel2a
is ID of the message. The installer uses either message ReadyLabel2a
or ReadyLabel2b
for the ReadyLabel
, depending on the setup configuration.
WizardForm.ReadyLabel.Caption := 'BLAH';
See TWizardForm
class declaration.
You can find how the messages are used in controls in Inno Setup source code
If you need to have an installer specific texts for certain standard messages, modify the texts using Messages
section:
[Messages]
ReadyLabel2a=Click Install to continue with the installation, or click Back if you want to review or change any settings.