Skip to content

MSI_IsPackageInstalled

Test if specified package has been installed

MSI_IsPackageInstalled(sMSIFile, bMustExist) As Boolean

Path and filename of the MSI-package

Function will return false if bMustBeInstalled is true and package is not installed

Result will be stored in gbValue

If bStatus Then bStatus = MSI_IsPackageInstalled("C:\CapaInstaller.msi", False)
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

MSI_InstallPackage MSI_UnInstallByFile MSI_GetPackageStatus Constants Package Property Variables