InstallShield 2015 ยป InstallScript Language Reference
Project: This information applies to InstallScript projects.
The VerProductVerFromVerParts function retrieves the packed DWORD that corresponds to the version parts specified by nVersionMajor, nVersionMinor, and nVersionBuild.
Syntax
VerProductVerFromVerParts ( nvVersion, nVersionMajor, nVersionMinor, nVersionBuild );
Parameters
Parameter |
Description |
nvVersion |
Returns the four-byte value that corresponds to the version parts specified by nVersionMajor, nVersionMinor, and nVersionBuild. |
nVersionMajor |
Specifies the first byte of version information. VerProductVerFromVerParts fails if this value is less than zero (0) or greater than 255. |
nVersionMinor |
Specifies the second byte of version information. VerProductVerFromVerParts fails if this value is less than zero (0) or greater than 255. |
nVersionBuild |
Specifies the last two bytes of version information. VerProductVerFromVerParts fails if this value is less than zero (0) or greater than 65535. |
Return Values
Return Value |
Description |
>= ISERR_SUCCESS |
Indicates that the function succeeded. |
< ISERR_SUCCESS |
Indicates that the function failed. |
InstallShield 2015 Help LibraryJune 2015 |
Copyright Information | Contact Us |