Skip to content

CMS_GetPackageStatus

Returns the status of the specified package for the unit, as registered in CapaInstaller. Examples of values are ‘Installed’, ‘Installing’, ‘Waiting’, ‘Failed’, ‘NotCompliant’ and ‘Uninstall’. ‘Not scheduled’ indicates that the package is not linked to the unit, and ‘Package not found’ indicates that the package doesn’t exist.

CMS_GetPackageStatus(sPackage, sVersion) As Boolean

Name of package

Version of package

Boolean, TRUE if function completed successfully. The result will be stored in gsValue

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

Scripting Guidelines

Constants Package Property Variables Business Unit support