Skip to main content
Question

Policy with Login or Recurring Checking not Installing Software Properly


Forum|alt.badge.img+4

I've been having some issues with Policies not installing certain software in the background properly. The application will not open and throws an error. However, the software is installed properly if I use Self Service. The logs look identical.

From the Policy at Recurring Checkin
Mar 22 10:24:04 iMac-IP-Desk installer[5579]: Product archive /Library/Application Support/JAMF/Downloads/Install Pro Tools 2018.3.0.pkg trustLevel=100
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Chromium Embedded Framework.framework/Versions/A/Resources/crash_report_sender.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Crash Reporter.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Pro Tools Helper EH.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Pro Tools Helper NP.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Pro Tools Helper.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Video Engine/AvidVideoEngine.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Video Engine/AvidVideoEngine.app/Contents/QuickTimeServer/QuickTime_OPServer.app
Mar 22 10:24:21 iMac-IP-Desk installd[992]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/QuickTimeServer/Pro Tools QuickTime Server.app

From the Policy via Self Service
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Chromium Embedded Framework.framework/Versions/A/Resources/crash_report_sender.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Crash Reporter.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Pro Tools Helper EH.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Pro Tools Helper NP.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Pro Tools Helper.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Video Engine/AvidVideoEngine.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/Frameworks/Video Engine/AvidVideoEngine.app/Contents/QuickTimeServer/QuickTime_OPServer.app
Mar 22 10:52:36 iMac-IP-Desk installd[921]: PackageKit: Touched bundle /Applications/Pro Tools.app/Contents/QuickTimeServer/Pro Tools QuickTime Server.app

Has anyone else had this issue?

4 replies

Forum|alt.badge.img+13
  • Honored Contributor
  • 253 replies
  • March 22, 2018

I am preparing our apps for deployment. I just tested the ProTools deployment and don't see anything strange.


Forum|alt.badge.img+4
  • Author
  • Contributor
  • 10 replies
  • March 22, 2018

How did you build your package? I ran the pkg through Composer and rebuilt it as that's what I've read from past users. Only works from Self Service for some reason.


Forum|alt.badge.img+13
  • Honored Contributor
  • 253 replies
  • March 23, 2018

@ivanpiesh I copied the installer into Composer, I then put the iLock installer into the Policy.
I then run the script:

#!/bin/bash

Copy the com.avid.bsd.ShoeTool Helper Tool

PHT_SHOETOOL="/Library/PrivilegedHelperTools/com.avid.bsd.shoetoolv120" /bin/cp -f "/Applications/Pro Tools.app/Contents/Library/LaunchServices/com.avid.bsd.shoetoolv120" $PHT_SHOETOOL /usr/sbin/chown root:wheel $PHT_SHOETOOL /bin/chmod 544 $PHT_SHOETOOL

Create the Launch Deamon Plist for com.avid.bsd.ShoeTool

PLIST="/Library/LaunchDaemons/com.avid.bsd.shoetoolv120.plist" FULL_PATH="/Library/PrivilegedHelperTools/com.avid.bsd.shoetoolv120" rm $PLIST # Make sure we are idempotent /usr/libexec/PlistBuddy -c "Add Label string" $PLIST /usr/libexec/PlistBuddy -c "Set Label com.avid.bsd.shoetoolv120" $PLIST /usr/libexec/PlistBuddy -c "Add MachServices dict" $PLIST /usr/libexec/PlistBuddy -c "Add MachServices:com.avid.bsd.shoetoolv120 bool" $PLIST /usr/libexec/PlistBuddy -c "Set MachServices:com.avid.bsd.shoetoolv120 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 $FULL_PATH" $PLIST /bin/launchctl load $PLIST mkdir -p "/Library/Application Support/Avid/Audio/Plug-Ins" mkdir -p "/Library/Application Support/Avid/Audio/Plug-Ins (Unused)" chmod a+w "/Library/Application Support/Avid/Audio/Plug-Ins" chmod a+w "/Library/Application Support/Avid/Audio/Plug-Ins (Unused)" mkdir /Users/Shared/Pro Tools mkdir /Users/Shared/AvidVideoEngine chown -R root:wheel /Users/Shared/Pro Tools chmod -R a+rw /Users/Shared/Pro Tools chown -R root:wheel /Users/Shared/AvidVideoEngine chmod -R a+rw /Users/Shared/AvidVideoEngine

Get rid of old workspace

rm -rf /Users/Shared/Pro Tools/Workspace.wksp exit 0

Force a reboot. Done

[https://www.jamf.com/jamf-nation/discussions/17288/pro-tools-12](link URL)


Forum|alt.badge.img+4
  • Author
  • Contributor
  • 10 replies
  • July 21, 2021
CapU wrote:

@ivanpiesh I copied the installer into Composer, I then put the iLock installer into the Policy.
I then run the script:

#!/bin/bash

Copy the com.avid.bsd.ShoeTool Helper Tool

PHT_SHOETOOL="/Library/PrivilegedHelperTools/com.avid.bsd.shoetoolv120" /bin/cp -f "/Applications/Pro Tools.app/Contents/Library/LaunchServices/com.avid.bsd.shoetoolv120" $PHT_SHOETOOL /usr/sbin/chown root:wheel $PHT_SHOETOOL /bin/chmod 544 $PHT_SHOETOOL

Create the Launch Deamon Plist for com.avid.bsd.ShoeTool

PLIST="/Library/LaunchDaemons/com.avid.bsd.shoetoolv120.plist" FULL_PATH="/Library/PrivilegedHelperTools/com.avid.bsd.shoetoolv120" rm $PLIST # Make sure we are idempotent /usr/libexec/PlistBuddy -c "Add Label string" $PLIST /usr/libexec/PlistBuddy -c "Set Label com.avid.bsd.shoetoolv120" $PLIST /usr/libexec/PlistBuddy -c "Add MachServices dict" $PLIST /usr/libexec/PlistBuddy -c "Add MachServices:com.avid.bsd.shoetoolv120 bool" $PLIST /usr/libexec/PlistBuddy -c "Set MachServices:com.avid.bsd.shoetoolv120 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 $FULL_PATH" $PLIST /bin/launchctl load $PLIST mkdir -p "/Library/Application Support/Avid/Audio/Plug-Ins" mkdir -p "/Library/Application Support/Avid/Audio/Plug-Ins (Unused)" chmod a+w "/Library/Application Support/Avid/Audio/Plug-Ins" chmod a+w "/Library/Application Support/Avid/Audio/Plug-Ins (Unused)" mkdir /Users/Shared/Pro Tools mkdir /Users/Shared/AvidVideoEngine chown -R root:wheel /Users/Shared/Pro Tools chmod -R a+rw /Users/Shared/Pro Tools chown -R root:wheel /Users/Shared/AvidVideoEngine chmod -R a+rw /Users/Shared/AvidVideoEngine

Get rid of old workspace

rm -rf /Users/Shared/Pro Tools/Workspace.wksp exit 0

Force a reboot. Done

[https://www.jamf.com/jamf-nation/discussions/17288/pro-tools-12](link URL)


Thank you for this. I'll try this out. Cheers.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings