OverviewExamples
string MSI.GetMSIVersion ( |
) |
strVersion = MSI.GetMSIVersion();
Dialog.Message("MSI Version", "The MSI version installed is "..strVersion);
Gets the version of the Windows Installer that is installed and returns the information in a message box.
strVersion = MSI.GetMSIVersion();
nCompare = String.CompareFileVersions(strVersion, "3.0");
if (nCompare == -1) then
Dialog.Message("Requirement Failed", "This setup requires a minimum of version 3.0 of the Windows Installer.");
end
Checks to see if the MSI version is greater than or equal to "3.0" and shows an error dialog if the condition fails.
See also: Related Actions