Skip to content

CMS_GetPackageStatus

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

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