MSI.VerifyPackage

boolean MSI.VerifyPackage ( 

string PackagePath )

Example 1

bResult = MSI.VerifyPackage(_TempFolder.."\\setup.msi");

if (bResult) then
    Dialog.Message("Is Package", "Yes, the file is a package.");
else
    Dialog.Message("Not Package", "The file is not a package, or an error was encountered.");
end

Checks to see if the file "setup.msi" in the user's temporary folder is an installation package and shows the result in a dialog message.

See also:  Related Actions