Skip to content

Instantly share code, notes, and snippets.

@erikng
Created October 1, 2015 15:34
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikng/7cede5be1c0ae2f85435 to your computer and use it in GitHub Desktop.
Save erikng/7cede5be1c0ae2f85435 to your computer and use it in GitHub Desktop.
Office 2016 LS register
#!/bin/bash
if [ -e "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app" ]
then
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -R -f -trusted "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app"
fi
if [ -e "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app" ]
then
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -R -f -trusted "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app"
fi
@kevinmcox
Copy link

MAU 4.15 renamed Microsoft AU Daemon.app to Microsoft Update Assistant.app so the script will need to be updated starting with that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment