MSI_GetPackageStatusByGuid

Description

Returns the status for the specified MSI-package


Syntax

MSI_GetPackageStatusByGUID(sGUID) As Boolean


Parameters

sGUID (String)

GUID for the MSI Package


Return value

Result will be stored in gsValue. MSI Status


Example

VBScript
If bStatus Then bStatus = MSI_GetPackageStatusByGUID("{45835CD9-B5A1-4042-84B1-4CC1B166F212}")
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines


Related functions

MSI_InstallPackage MSI_UnInstallByFile MSI_IsPackageInstalled