Skip to content

MSI\_GetPackageStatus

Returns the status for the specified MSI-package

MSI_GetPackageStatus(sMSIFile) As Boolean

sMSIFile (String)

Path and filename of the MSI-package

Result will be stored in gsValue. MSI Status

VBScript

If bStatus Then bStatus = MSI_GetPackageStatus("C:\CapaInstaller.msi")
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

MSI_InstallPackage MSI_UnInstallByFile MSI_IsPackageInstalled