Skip to content

Instantly share code, notes, and snippets.

@Jaharmi
Created November 25, 2013 16:54
Show Gist options
  • Save Jaharmi/7644523 to your computer and use it in GitHub Desktop.
Save Jaharmi/7644523 to your computer and use it in GitHub Desktop.
Munki pkginfo “installs” key for the Microsoft Office and Microsoft Component Plugin frameworks on OS X to determine which version of Office 2011 is installed. See also http://www.officeformachelp.com/office/faqs/#faq4 and/or https://github.com/Jaharmi/extension_attribute/blob/master/microsoft_office_version.py
<?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>installs</key>
<array>
<dict>
<key>CFBundleShortVersionString</key>
<string>14.3.8</string>
<key>CFBundleVersion</key>
<string>14.3.8</string>
<key>path</key>
<string>/Applications/Microsoft Office 2011/Office/MicrosoftOffice.framework</string>
<key>type</key>
<string>bundle</string>
<key>version_comparison_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</array>
</dict>
</plist>
<?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>installs</key>
<array>
<dict>
<key>CFBundleShortVersionString</key>
<string>14.3.8</string>
<key>CFBundleVersion</key>
<string>14.3.8</string>
<key>path</key>
<string>/Applications/Microsoft Office 2011/Office/MicrosoftComponentPlugin.framework</string>
<key>type</key>
<string>bundle</string>
<key>version_comparison_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment