...
Code Block | ||
---|---|---|
| ||
# this function will set the package status to NotCompliant
function CompliancyCheck() {
$result = true
if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") {
$cs.Job_WriteLog("CompliancyCheck", "Package is not allowed to run on 64 bit OS")
$result = CMS_SetPackageStatusToNotCompliant -package 'AutoCad 11' -version 'v1.0'
}
return $result
} |
Related functions
CMS_SetPackageStatusToInstalled https://capasystems.atlassian.net/wiki/spaces/CI66DOC/pages/19610726925