Apple Software Update Analysis 10.8 - superseded
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is an older version.

1Apple Software Update Analysis6/28/2013 12:09:12 PM
2Apple Software Update Analysis6/28/2013 12:59:17 PM
3Apple Software Update Analysis 10.82/14/2014 11:08:31 AM
4Apple Software Update Analysis 10.82/14/2014 12:35:58 PM

Description

Check status of Apple Software Update on OS X 10.8.x. Return "Software Update Enabled" if Apple Software Updates is Enabled. Return "Software Update Disabled" if Software Updates is Disabled.

Property Details

ID2994638
StatusBeta - Preliminary testing ready for more
TitleApple Software Update Analysis 10.8
DomainBESC
KeywordsApple Software Update Analysis
Added by on 2/14/2014 11:08:31 AM
Last Modified by on 2/14/2014 11:08:31 AM
Counters 2065 Views / 0 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Properties

SoftwareUpdatePeriodicCheck(True=Off)
Period 12 hours
 
  * Results in a true/false
Show indented relevance
if (not exists dictionary "com.apple.softwareupdatecheck.periodic" of dictionaries of file "/var/db/launchd.db/com.apple.launchd/overrides.plist") then "Software Update Enabled" else if (boolean of value of entry whose (key of it is "Disabled") of dictionary "com.apple.softwareupdatecheck.periodic" of dictionaries of file "/var/db/launchd.db/com.apple.launchd/overrides.plist") then "Software Update Disabled" else "Software Update Enabled"
SoftwareUpdateInitialcCheck(True=Off)
Period 12 hours
 
  * Results in a true/false
Show indented relevance
if (not exists dictionary "com.apple.softwareupdatecheck.initial" of dictionaries of file "/var/db/launchd.db/com.apple.launchd/overrides.plist") then "Software Update Enabled" else if (boolean of value of entry whose (key of it is "Disabled") of dictionary "com.apple.softwareupdatecheck.initial" of dictionaries of file "/var/db/launchd.db/com.apple.launchd/overrides.plist") then "Software Update Disabled" else "Software Update Enabled"

Relevance

Used in 1 analsis   * Results in a true/false
Show indented relevance
(mac of operating system) AND (version of operating system > "10.8" AND version of operating system < "10.9")

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
sharon.xie -
got the solution. It should be integer "ScheduleFrequency" of dictionaries of file "/Library/Preferences/com.apple.SoftwareUpdate.plist"
sharon.xie -
I tried Q: exists dictionary "ScheduleFrequency" of dictionaries of file "/Library/Preferences/com.apple.SoftwareUpdate.plist" A: false This is a binary file but it seems I can't query it in the say way as a dictionary file.
jgstew -
Did you try using dictionaries of file ? Plists can be XML or Binary, but I believe in either case they can be queried in the same way using the API.
sharon.xie -
Also, I tried to parse the file "/Library/Preferences/com.apple.SoftwareUpdate.plist" to extract the value for "ScheduleFrenquency" on 10.7. The file is not a dictionary file and when I use "lines of file "/Library/Preferences/com.apple.SoftwareUpdate.plist", it returns me weird results with lots of machine code. Do you have any idea?
sharon.xie -
@rustymyers, the file I put is for 10.7...
rustymyers -
@sharon.xie I think I see the issue. This analysis should be relevant for 10.8 machines only. This checks the location that is changed when Software Updates are toggled in the GUI. For Mavericks (10.9), I created a new analysis: http://bigfix.me/analysis/details/2994640
sharon.xie -
this doesnt seem to be the right place to check if softwareupdate is installed. I found: /Library/Preferences/com.apple.SoftwareUpdate.plist has one configuration property: ScheduleFrequency. If it = -1 means disabled. otherwise, enabled.
jgstew -
http://bigfix.me/cdb/relevance/2996963 This is not needed if the item is in a Mac only site, but otherwise it is helpful to include "mac of operating system" in the relevance so that this does not try to run against PCs, which will cause unnecessary relevance evaulation.