Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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

ehemmete commented May 11, 2016 edited

Edit - Never mind, this works great with 15.22 and 10.11.4. I was only doing the first if, as I assumed recursive (-R) meant fully recursive...


Is this still working for you with Office 2016 15.22 and OS X 10.11.4? I have tried this and still get the popup when I click Check for Updates in one of the apps for the first time.

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