Skip to main content
Question

Updating Office via MAU command line script problem

  • June 25, 2018
  • 1 reply
  • 0 views

Forum|alt.badge.img+2
  • New Contributor
  • 1 reply

so I am trying to use the script below to automate updating Macs in my environment. Problem I am encountering is it can't find the app in the folder I am specifying, but if I run this script locally it will work, but I can't get it to work when I deploy it via jamf.

I have it set to ongoing frequency and available in self service so I can run the script manually.

does anyone see any issues with the script?

!/bin/bash

if [[ -f "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" ]]; then

cd "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS"
sudo ./msupdate -i -a mswd15 xcel15 ppt315 opim15 onmc15 msfb16 -v 16.14.18061302

else
echo "File not found"
fi

1 reply

spalmer
Forum|alt.badge.img+22
  • Valued Contributor
  • 166 replies
  • June 25, 2018

Paul Bowden, from Microsoft, has created a script that is designed to work with Jamf Pro. It can be found at https://github.com/pbowden-msft/msupdatehelper.


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