VerProductVerPartsFromVer

InstallShield 2024 » InstallScript Language Reference

Project: This information applies to InstallScript projects.

The VerProductVerPartsFromVer function retrieves as separate numeric values the version parts of the packed DWORD specified by nVersion.

Syntax

VerProductVerPartsFromVer ( nVersion, nvVersionMajor, nvVersionMinor, nvVersionBuild );

Parameters

VerProductVerPartsFromVer Parameters

Parameter

Description

nVersion

Specifies version information as a four-byte value, that is, a number in the range 0 to 4294967295.

nvVersionMajor

Returns the first byte of nVersion.

nvVersionMinor

Returns the second byte of nVersion.

nvVersionBuild

Returns the last two bytes of nVersion.

Return Values

VerProductVerPartsFromVer Return Values

Return Value

Description

ISERR_SUCCESS

This function always returns ISERR_SUCCESS.