Functions | |
CA_API UINT __stdcall | CompareVersions (MSIHANDLE hInstall) |
Compares dotted version strings. More... | |
CA_API UINT __stdcall | CompareVersion (MSIHANDLE hInstall) |
Compares dotted version strings. More... | |
CA_API UINT __stdcall CompareVersion | ( | MSIHANDLE | hInstall | ) |
Compares dotted version strings.
Compares the version string specfied by VERSION_INSTALLED to the version specified by VERSION_MINIMUM and optionally, VERSION_MAXIMUM. If VERSION_INSTALLED lies between these two versions, then the property specified by VERSION_PROPERTY is set.
VERSION_INSTALLED | version to compare |
VERSION_MINIMUM | mimumum allowed version |
VERSION_MAXIMUM | optional paramater specifying the maximum version allowed |
VERSION_PROPERTY | property to set if the version check passes |
CA_API UINT __stdcall CompareVersions | ( | MSIHANDLE | hInstall | ) |
Compares dotted version strings.
Compares the version string specfied by InstalledVersion to the version specified by MinimumVersion and optionally, MaximumVersion. If InstalledVersion lies between these two versions, then the property specified by the Property is set.
InstalledVersion | version to compare |
MinimumVersion | mimumum allowed version |
MaximumVersion | optional paramater specifying the maximum version allowed |
Property | property to set if the version check passes |
This is a table-driven custom action. It requires the following artifacts:
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |