MSI\_GetPackageStatusByGuid
Description
Section titled “Description”Returns the status for the specified MSI-package
Syntax
Section titled “Syntax”MSI_GetPackageStatusByGUID(sGUID) As Boolean
Parameters
Section titled “Parameters”sGUID (String)
GUID for the MSI Package
Return value
Section titled “Return value”Result will be stored in gsValue. MSI Status
Example
Section titled “Example”VBScript
If bStatus Then bStatus = MSI_GetPackageStatusByGUID("{45835CD9-B5A1-4042-84B1-4CC1B166F212}")If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)Related functions
Section titled “Related functions”MSI_InstallPackage MSI_UnInstallByFile MSI_IsPackageInstalled