CMS_SetPackageStatusToInstalled
Description
Section titled “Description”Will set the status of a package to Installed
Syntax
Section titled “Syntax”CMS_SetPackageStatusToInstalled(sPackage, sVersion) as Boolean[bool]CMS_SetPackageStatusToInstalled -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 function completed successfully.
Boolean, TRUE if function completed successfully.
Example
Section titled “Example”If bStatus Then bStatus = CMS_SetPackageStatusToInstalled("CapaInstaller", "v1.0")if (CMS_SetPackageStatusToInstalled 'Bit Rally 3.44' 'v1.0') { $cs.Job_WriteLog("Installed", "The status of Bit Rally 3.44 is now set to Installed")}Related functions
Section titled “Related functions”CMS_SetPackageStatusToNotCompliant Constants Package Property Variables Business Unit support