[Setup]: OnlyBelowVersion



Default value:


This directive lets you specify a minimum version of Windows that your software will not run on. Specifying "0" means there is no upper version limit. Build numbers and/or service pack levels may be included.

This directive is essentially the opposite of MinVersion.

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: OnlyBelowVersion=0,6.2. The Windows 95/98/Me version number (the first number) isn't used, however, as Inno Setup no longer supports Windows 95/98/Me.