Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels