Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Microsoft Office 2016 msupdate
Microsoft Office 2019 msupdate

Leveraging Microsoft AutoUpdate 3.18 "msupdate" binary with Jamf Pro 10 Patch Policies

While we're waiting for Jamf Pro 10's Patch Management to support scripts, here's one method to leverage Microsoft AutoUpdate (MAU) version 3.18 msupdate command-line tool to update Office apps via Jamf Pro 10's built-in patch features, inspired by @pbowden-msft.


After testing @pbowden-msft's script in our environment, my first thought was to use a payload-free package's post-install script to simply call a policy which ran Paul's script:

Microsoft Office 2016 Update 1.0.0.pkg

Post-install Script

## postinstall


echo " "
echo "###"
echo "# Microsoft Office 2016 Update"
echo "###"
echo " "

/usr/local/bin/jamf policy -trigger microsoftUpdate -verbose

exit 0

After counseling with ted.johnsen, he convinced me that a Patch Policy calling a standard policy was too much of a hack.

Payload-free Post-install Script

Using Composer, create a payload-free package which contains the following post-install script. (In Composer, I named the package Microsoft Office 2016 msupdate.)

The post-install script will use the word after "Microsoft" in the pathToPackage variable as the application name to be updated (i.e., "Excel") and the word after "msupdate" in the pathToPackage variable as the target version number (i.e., "16.12.18041000").

In Composer, build the .PKG and in the Finder, manually duplicate and rename it based on the application to update and the desired version.

For example:

  • Microsoft Word 2016 msupdate 16.12.18041000.pkg
  • Microsoft Excel 2016 msupdate 16.12.18041000.pkg
  • Microsoft PowerPoint 2016 msupdate 16.12.18041000.pkg
  • Microsoft Outlook 2016 msupdate 16.12.18041000.pkg
  • Microsoft OneNote 2016 msupdate 16.12.18041000.pkg

Add the packages to the definitions of the Microsoft Office Patch Management Software Titles.

When the patch policies run, the post-install script will leverage the "msupdate" binary to apply the updates.

<<<<<<< HEAD

Microsoft Office 2019

61b2228c39d8becaa8140c219e748b9bb2d58913 8-Oct-2018: Updated for Office 2019

You can’t perform that action at this time.