CMS_InstallAdvertisedPackage
Description
Section titled “Description”Installs an advertised package by linking it to the unit. This function works the same way as CMS_AddPackageToUnit.
Syntax
Section titled “Syntax”CMS_InstallAdvertisedPackage(sPackage, sVersion) As Boolean[bool] CMS_InstallAdvertisedPackage -package <string> -version <string>Parameters
Section titled “Parameters”sPackage (String)
Section titled “sPackage (String)”Name of package
sVersion (String)
Section titled “sVersion (String)”Version of package
Return value
Section titled “Return value”Boolean. True if the package was linked or was already linked. False if the package can’t be found.
Example
Section titled “Example”If bStatus Then bStatus = CMS_InstallAdvertisedPackage("CapaInstaller", "v1.0")Related functions
Section titled “Related functions”CMS_GetAdvertisedPackages Constants Package Property Variables Business Unit support