How to properly use Detection Rules in Managed Delivery Tasks
If not configured properly, Managed Delivery detection rules will not stop a Remediation Task from executing even if the detection rule successfully makes the detection check.
When you configure a command-line for the Software Resource, you have 3 options as to the command-line type:
NOTE: Other options may be available depending on the type installation file selected (EXE versus MSI for example)
When you select a Custom command-line to be used in a Managed Delivery, the detection check is no longer considered applicable to the remediation task by the Managed Delivery logic. The detection check is to see if something is not installed or installed. To properly apply the detection rule in the Managed Delivery Task, in the Software Resource make the command-line type as Install or Uninstall. The detection rule should then apply directly to the execution as it considers that detection rule as the proof if something is or is not installed.
The following screenshot shows where the command-line type is set:
ID: LB 77758
Littlebuggy (Altiris - Lindon, Plymouth) database
Imported Document ID: TECH41989
Subscribing will provide email updates when this Article is updated. Login is required.