Inno Setup 1.2 & 1.12 Revision History |
Source: "{src}\serialno.ini"; DestDir: "{app}"; Flags: external
WizardImageFile=myimage.bmp WizardImageBackColor=clBlueIf WizardImageFile isn't a fully qualified pathname, it looks for the file in the source directory (which is by default the directory containing your script). The format of the WizardImageBackColor entry is the same as that of the BackColor entry -- look that up in the Inno Setup help file (which comes with 1.11) for more information.
MessagesFile=compiler:German.islThis way you can copy common files used by all your scripts into the Inno Setup compiler directory, which avoids having to use fully qualified pathnames or the making duplicates of files for each script.
There a three ways you can use custom text in your installation. First, you could modify the Default.ISL file (the file containing the standard English messages for Inno Setup) and make your changes in there, but I really don't recommended that. Preferably, you should make a copy of Default.ISL to another name, i.e. MyMessages.ISL, and add a line "MessagesFile=MyMessages.ISL" to the [Setup] section of your script. Note that currently .ISL files must be in the same directory as the Inno Setup compiler. (The preceding no longer applies in 1.12.3 and later.) Alternatively you can create a [Messages] section in your script file instead and have it override particular messages from the .ISL file, for example:
[Setup] Bits=32 ... [Messages] SetupWindowTitle=Setup With A Custom Title! - %1
The format of the messages is pretty simple. Some messages take parameters such as %1 and %2. You can rearrange the order of the parameters (i.e. move the %2 before a %1) and also duplicate parameters if needed (i.e. "%1 ... %1 %2"). On messages with parameters, use two consecutive "%" characters to embed a single "%". "%n" creates a CR/LF line break. On 16-bit installations, there is currently a general limit of 255 characters per message (there are some exceptions, such as with the SWelcomeLabel message).