Updating office 2016 registration

My test machines are downloading the updates very fast from my local MAU Caching Server.However, it doesn't seem to be logging anything to the /Library/Logs/Microsoft/file.If you have never opened Outlook after install Office 2016, MAU will not auto update [email protected] Your script didn't work for me as is.Currently, we install Office with a file that excludes MAU.If I deploy MAU now separately to all those users, they'll get the app asking if it's OK to run./bin/sh logged In User=`python -c 'from System Configuration import SCDynamic Store Copy Console User; import sys; username = (SCDynamic Store Copy Console User(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""; sys.stdout.write(username "\n");'` su - "$logged In User" -c '/System/Library/Frameworks/Core Services.framework/Frameworks/Launch Services.framework/Support/lsregister -R -f -trusted -v "/Library/Application Support/Microsoft/MAU2.0/Microsoft Auto Update.app"' su - "$logged In User" -c '/System/Library/Frameworks/Core Services.framework/Frameworks/Launch Services.framework/Support/lsregister -R -f -trusted -v "/Library/Application Support/Microsoft/MAU2.0/Microsoft Auto Update.app/Contents/Mac OS/Microsoft AU Daemon.app"' su - "$logged In User" -c 'defaults delete com.microsoft.autoupdate2 Last Update' exit 0This script will create a Launch Agent and registers MAU and All Office apps for the autoupdate, otherwise you will have to open each office app once to get it registered with MAU when you install Office via Casper.

||

My test machines are downloading the updates very fast from my local MAU Caching Server.

However, it doesn't seem to be logging anything to the /Library/Logs/Microsoft/file.

If you have never opened Outlook after install Office 2016, MAU will not auto update Outlook.

@neil.martin83 Your script didn't work for me as is.

Currently, we install Office with a file that excludes MAU.

If I deploy MAU now separately to all those users, they'll get the app asking if it's OK to run.

/bin/sh logged In User=`python -c 'from System Configuration import SCDynamic Store Copy Console User; import sys; username = (SCDynamic Store Copy Console User(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username "\n");'` su - "$logged In User" -c '/System/Library/Frameworks/Core Services.framework/Frameworks/Launch Services.framework/Support/lsregister -R -f -trusted -v "/Library/Application Support/Microsoft/MAU2.0/Microsoft Auto Update.app"' su - "$logged In User" -c '/System/Library/Frameworks/Core Services.framework/Frameworks/Launch Services.framework/Support/lsregister -R -f -trusted -v "/Library/Application Support/Microsoft/MAU2.0/Microsoft Auto Update.app/Contents/Mac OS/Microsoft AU Daemon.app"' su - "$logged In User" -c 'defaults delete com.microsoft.autoupdate2 Last Update' exit 0This script will create a Launch Agent and registers MAU and All Office apps for the autoupdate, otherwise you will have to open each office app once to get it registered with MAU when you install Office via Casper.

]]

Using only the two middle lines also resulted in an error. Good news is that the Config Profile I derived from my com.microsoft.autoupdate2.plist file seems to be working.

@ABig Rock at the bottom of Rich's article you will find a .mobileconfig link that you can upload into Casper and use as a Configuration Profile.

Set it to Install Automatically and at Computer Level. t=39m58s You need to make sure the apps are registered (can be added to the profile - either run all the Office apps on a machine and copy out the keys from ~/Library/Preferences/com.microsoft.autoupdate2.plist to your profile or check out the postinstall scripts in the Office installer pkg - you can use those to create the keys on a Mac you don't have Office on).

@jamfmdm how are you creating that .mobileconfig file?

The error that you have there leads me to believe the formatting of the file is wrong. Here's what I just did to test: I did not receive the parsing error that you received.

Leave a Reply