Deployment Tools Foundation
VerifyPackage Method (packagePath)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► VerifyPackage(String)
Verifies that the given file is an installation package.


- packagePath (String)
- Path to the package

True if the file is an installation package; false otherwise.

Win32 MSI API: MsiVerifyPackage

Exception | Condition |
---|---|
FileNotFoundException | the specified package file does not exist |
InstallerException | the package file could not be opened |