Detection Rules for Mac Managed Software Delivery Fail to Detect Software

book

Article ID: 169709

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server) Notification Server Agent for Macintosh (Altiris) Software Management Solution

Issue/Introduction

A Managed Software Delivery policy will check a target client for compliance, to determine if the software is already installed prior to installation.  However, in some situations where it should detect the software, it is unable to do so, and it will re-run the software installation again.

Log example from a successful detection:

INFO 2015-06-26 08:52:35.845     21452    2960265216  SMF-InventoryRuleTask > Inventory ruleGuid to evaluate {4acdaa20-acab-4314-904e-c4eb7ecb30a7}
INFO 2015-06-26 08:52:35.859     21452    2960265216  IRAgent-RuleCache > Requesting 1 inventory rules from server
INFO 2015-06-26 08:52:37.191     21452    2960265216  SMF-SoftwareCache > Sending information about known software to NS...
INFO 2015-06-26 08:52:37.519     21452    2957307904  SMF-DeliveryPolicy > Send compliance status 3 policy: {100900C7-8076-4371-BD78-E891B101424D}

Log example from an unsuccessful detection:

INFO 2015-06-26 09:14:42.099     21452    2957307904  SMF-DeliveryPolicy > Send compliance status 0 policy: {100900C7-8076-4371-BD78-E891B101424D}

Environment

ITMS 7.5 and later

Apple OSX/MacOS (all versions)

Resolution

Managed Software Delivery for Mac supports only one type of detection rule, "Software component package".  This detects the installed software by reviewing installed packages on the system.  This information can be found on a Mac by navigating to the Applications folder, then right-click the application and choose "Show Package Contents".  Open the Contents folder, then open "Info.plist" in a text viewer.

To configure the detection rule in the console, browser to the Software and:

  1. Edit Software Resource
  2. Go to the Rules tab
  3. Edit (or create) a Detection rule.
  4. Select the Plus (+) icon and add a ULM Rules > Software component package
  5. Set the Product to the name found at the key CFBundleIdentifier.
    • For example, with Safari, the name is "com.apple.Safari"
  6. Set the Version to the value found at the key CFBundleShortVersionString.
    • For example, with Safari on MacOS Sierra 10.12.5, the version is "10.1.1"

Once the Rule is saved and the policy is updated, the Mac client will receive these settings the next time attempts to run the Managed Delivery Policy.