Common Parameters

There are three optional parameters that are supported by all sections whose entries are separated into parameters. They are:

Languages

A space separated list of language names, telling Setup to which languages the entry belongs. If the end user selects a language from this list, the entry is processed (for example: the file is installed).

An entry without a Languages parameter is always processed, unless other parameters say it shouldn't be.

Besides space separated lists, you may also use boolean expressions. See Components and Tasks parameters for examples of boolean expressions.

Example:
Languages: en nl
MinVersion

A minimum Windows version for the entry to be processed. If you use "0" then the entry will never be processed. Build numbers and/or service pack levels may be included. This overrides any MinVersion directive in the script's [Setup] section.

An entry without a MinVersion parameter is always processed, unless other parameters say it shouldn't be.

For compatibility with previous versions of Inno Setup, separate Windows 95/98/Me and Windows NT version numbers may be specified, separated by a comma. Example: 4.1,5.0. The Windows 95/98/Me version number (the first number) isn't used, however, as Inno Setup no longer supports Windows 95/98/Me.

Example:
MinVersion: 5.1
OnlyBelowVersion

Essentially the opposite of MinVersion. Specifies the minimum Windows version for the entry not to be processed. For example, if you put 6.0 and the user is running Windows 2000 or XP, the entry will be processed, but if the user is running Windows Vista (which reports its version as 6.0) or later, it will not be processed. Putting "0" means there is no upper version limit. Build numbers and/or service pack levels may be included. This overrides any OnlyBelowVersion directive in the script's [Setup] section.

An entry without an OnlyBelowVersion parameter is always processed, unless other parameters say it shouldn't be.

For compatibility with previous versions of Inno Setup, separate Windows 95/98/Me and Windows NT version numbers may be specified, separated by a comma. Example: 4.1,5.0. The Windows 95/98/Me version number (the first number) isn't used, however, as Inno Setup no longer supports Windows 95/98/Me.

Example:
OnlyBelowVersion: 6.0