Setup Factory 10

MSI.VerifyPackage

MSI.VerifyPackage

This is the first topic This is the last topic  

MSI.VerifyPackage

This is the first topic This is the last topic  

OverviewExamples

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


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us