Hi All,
I am not sure where I am going wrong here, I am working with ITMS 7.6 HF7 and Mac OS X 10.11.3 (although tested same result on OS X 10.10.5)
I have created 3 seperate Managed SWD Policies and with each of them detection rule doesn't detect that the software is already installed and provides incorrect compliance state, which leads the Policy to run everytime Computer is restarted (Schedule is set to Computer Startup).
I will provide the info based on installing Adobe Flash Player (20.0.0.286)
Detection Rule:
Name: Adobe Flash Player 20.0.0.286
Expression Type: Software component package
Product: com.adobe.pkg.FlashPlayer
Version: 20.0.0.286
Match: Equal
When I run "pkgutil --pkgs" com.adobe.pkg.FlashPlayer is listed
When I check /var/db/receipts com.adobe.pkg.FlashPlayer.plist is present and has the below info:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN""http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>InstallDate</key>
<date>2016-01-20T09:27:34Z</date>
<key>InstallPrefixPath</key>
<string></string>
<key>InstallProcessName</key>
<string>installer</string>
<key>PackageFileName</key>
<string>AdobeFlashPlayerComponent.pkg</string>
<key>PackageIdentifier</key>
<string>com.adobe.pkg.FlashPlayer</string>
<key>PackageVersion</key>
<string>20.0.0.286</string>
<key>PathACLs</key>
<dict>
<key>Applications</key>
<string>!#acl 1
group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete
</string>
<key>Applications/Utilities</key>
<string>!#acl 1
group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete
</string>
<key>Library</key>
<string>!#acl 1
group:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete
</string>
</dict>
</dict>
</plist>
The SWD executes successfully, but the compliance state is never set correctly.
I found this thread Managed Software Delivery detection rule for Mac and dougj's suggestion gives me the below:
===================================
com.adobe.pkg.FlashPlayer
Package Details...
===================================
package-id: com.adobe.pkg.FlashPlayer
version: 20.0.0.286
volume: /
location:
install-time: 1453282054
===================================
Is there something really simple I am missing here?
Any help appreciated.
Thanks
Mark