Skip to content

Instantly share code, notes, and snippets.

@timsutton
Last active February 7, 2022 19:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timsutton/97abb8048e011c367dcd9473b2d0b2a7 to your computer and use it in GitHub Desktop.
Save timsutton/97abb8048e011c367dcd9473b2d0b2a7 to your computer and use it in GitHub Desktop.
pkginfo for Pro Tools 12.5.2
<?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>_metadata</key>
<dict>
<key>created_by</key>
<string>tsutton</string>
<key>creation_date</key>
<date>2016-07-04T18:46:13Z</date>
<key>munki_version</key>
<string>2.7.1.2775</string>
<key>os_version</key>
<string>10.11.6</string>
</dict>
<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>testing</string>
<string>production</string>
</array>
<key>description</key>
<string></string>
<key>display_name</key>
<string>Pro Tools 12</string>
<key>installed_size</key>
<integer>1814906</integer>
<key>installer_item_hash</key>
<string>932b403fd672737e657dbe1380f1a4b769e8f04f6673889476e7c4da00d68fa4</string>
<key>installer_item_location</key>
<string>apps/Avid/ProTools/12/Install Pro Tools 12.5.2.pkg</string>
<key>installer_item_size</key>
<integer>1196970</integer>
<key>installs</key>
<array>
<dict>
<key>CFBundleIdentifier</key>
<string>com.avid.ProTools</string>
<key>CFBundleName</key>
<string>Pro Tools</string>
<key>CFBundleShortVersionString</key>
<string>12.5.2.511</string>
<key>CFBundleVersion</key>
<string>12.5.2.511</string>
<key>path</key>
<string>/Applications/Pro Tools.app</string>
<key>type</key>
<string>application</string>
<key>version_comparison_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</array>
<key>minimum_os_version</key>
<string>10.9.5</string>
<key>name</key>
<string>ProTools12</string>
<key>postinstall_script</key>
<string>#!/bin/bash
# from Neil Martin's guide:
# http://www.pro-tools-expert.com/home-page/2014/1/29/preparing-pro-tools-forautomatic-installation-in-a-mac-enter.html
# Adapted by Tim for PT 12.4
SHOETOOL_NAME="com.avid.bsd.shoetoolv120"
PHT_SHOE="/Library/PrivilegedHelperTools/$SHOETOOL_NAME"
PLIST="/Library/LaunchDaemons/$SHOETOOL_NAME.plist"
# Copy the com.avid.bsd.shoetoolv120 Helper Tool
/bin/cp -f "/Applications/Pro Tools.app/Contents/Library/LaunchServices/$SHOETOOL_NAME" $PHT_SHOE
/usr/sbin/chown root:wheel $PHT_SHOE
/bin/chmod 544 $PHT_SHOE
# Create the Launch Deamon Plist for com.avid.bsd.shoe
rm -f $PLIST # In case Pro Tools has been updated from a previous version
/usr/libexec/PlistBuddy -c "Add Label string" $PLIST
/usr/libexec/PlistBuddy -c "Set Label $SHOETOOL_NAME" $PLIST
/usr/libexec/PlistBuddy -c "Add MachServices dict" $PLIST
/usr/libexec/PlistBuddy -c "Add MachServices:$SHOETOOL_NAME bool" $PLIST
/usr/libexec/PlistBuddy -c "Set MachServices:$SHOETOOL_NAME true" $PLIST
/usr/libexec/PlistBuddy -c "Add ProgramArguments array" $PLIST
/usr/libexec/PlistBuddy -c "Add ProgramArguments:0 string" $PLIST
/usr/libexec/PlistBuddy -c "Set ProgramArguments:0 $PHT_SHOE" $PLIST
/bin/launchctl load $PLIST
# added in from Media Composer 8.5.x, make the Avid Application Manager as quiet as possible
rm /Library/LaunchAgents/com.avid.ApplicationManager.plist
defaults write /Library/Preferences/com.avid.Application\ Manager enterpriseMode -bool true
defaults write /Library/Preferences/com.avid.Application\ Manager showAppNotifications -bool false
defaults write /Library/Preferences/com.avid.Application\ Manager showFeedsNotifications -bool false
</string>
<key>receipts</key>
<array>
<dict>
<key>installed_size</key>
<integer>1814903</integer>
<key>packageid</key>
<string>com.avid.installer.osx.ProToolsApplication</string>
<key>version</key>
<string>12.5.2.511</string>
</dict>
<dict>
<key>installed_size</key>
<integer>3</integer>
<key>packageid</key>
<string>com.avid.installer.osx.ProToolsApplicationAppMan</string>
<key>version</key>
<string>12.5.2.511</string>
</dict>
</array>
<key>uninstall_method</key>
<string>removepackages</string>
<key>uninstallable</key>
<true/>
<key>version</key>
<string>12.5.2.511</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment