Skip to content

CMS_IsPackageLinked

Checks if a given package is linked to the unit

CMS_IsPackageLinked(sPackage, sVersion) As Boolean

Name of the package

Version of the package

Boolean, TRUE if function completed successfully. The result will be stored in gbValue. If the package is not found, gbValue is FALSE.

If bStatus Then xStatus = CMS_IsPackageLinked("CapaInstaller", "v1.0")
If bStatus Then
xStatus = Job_WriteLog("Custom","gbValue: " & gbValue, bStatus, True)
End If

Scripting Guidelines

Constants Package Property Variables Business Unit support