VerProductIsVersionSupported

InstallShield 2024 » InstallScript Language Reference

Project: This information applies to InstallScript projects.

The VerProductIsVersionSupported function checks whether the version string in szVersionCheck is one of the versions in szVersionSupported.

Syntax

VerProductIsVersionSupported ( szVersionCheck, szVersionSupported );

Parameters

VerProductIsVersionSupported Parameters

Parameter

Description

szVersionCheck

Specifies a version string in packed DWORD format (for example, the initial value of the system variable IFX_PRODUCT_VERSION.

szVersionSupported

Specifies a pipe(|)-delimited list of version strings in packed DWORD format (for example, the initial value of the system variable IFX_SUPPORTED_VERSIONS).

Return Values

VerProductIsVersionSupported Return Values

Return Value

Description

TRUE

szVersionCheck is one of the versions in szVersionSupported, or szVersionSupported is a null string ("").

FALSE

szVersionCheck is not one of the versions in szVersionSupported.