How to properly use Detection Rules in Managed Delivery Jobs
search cancel

How to properly use Detection Rules in Managed Delivery Jobs

book

Article ID: 176921

calendar_today

Updated On:

Products

Software Management Solution

Issue/Introduction

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.

Resolution

When you configure a command-line for the Software Resource, you have 3 options as to the command-line type:

  • Custom
  • Install
  • Uninstall

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:


Attachments