Created
October 1, 2015 15:34
-
-
Save erikng/7cede5be1c0ae2f85435 to your computer and use it in GitHub Desktop.
Office 2016 LS register
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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
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.