CMS_GetPackageStatus

Description

Returns the local status for the specified package. Values can be 'Installed', 'Installing', 'Waiting' 'Failed' or 'Not Scheduled'. 'Not scheduled' indicates that the package is not linked to the unit

 

Syntax

CMS_GetPackageStatus(sPackage, sVersion) As Boolean

 

Parameters

sPackage (String)

Name of package

sVersion (String)

Version of package


Return value

Result will be stored in gsValue

 

Example

VBScript
If bStatus Then bStatus = CMS_GetPackageStatus("CapaInstaller", "v1.0")
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 

Related functions

 

Â