/
CMS_SetPackageStatusToInstalled
CMS_SetPackageStatusToInstalled
Description
Will set the status of a package to Installed
Syntax
CMS_SetPackageStatusToInstalled(sPackage, sVersion) as Boolean
[bool]CMS_SetPackageStatusToInstalled -package <string> -version <string>
Parameters
sPackage (String)
Name of package
sVersion (String)
Version of package
Return value
Boolean, TRUE if function completed successfully.
Boolean, TRUE if function completed successfully.
Example
VBScript
If bStatus Then bStatus = CMS_SetPackageStatusToInstalled("CapaInstaller", "v1.0")
PowerShell
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
CMS_SetPackageStatusToNotCompliant
, multiple selections available,
Related content
CMS Functions
CMS Functions
Read with this
CMS_SetPackageStatusToInstalled
CMS_SetPackageStatusToInstalled
More like this
CMS_SetPackageStatusToInstalled
CMS_SetPackageStatusToInstalled
More like this
CMS_SetPackageStatusToInstalled
CMS_SetPackageStatusToInstalled
More like this
CMS_GetPackageStatus
CMS_GetPackageStatus
More like this
CMS_GetPackageStatus
CMS_GetPackageStatus
More like this