I'd submit via the smiley face button, but the below text is too long for the smiley face UI and I can't paste it in there.
-------
Title
-----
Secondary Users Asked to Allow "Microsoft AU Daemon" to Run When Launching their First Office 2016 Application
Description
-----------
After installing Office 2016 Preview and applying all available updates, logging in as a different user (either new or existing) and opening an Office application the user is prompted to allow "Microsoft AU Daemon" to run.
Steps to Reproduce
------------------
- Install and update to the most current version of OS X 10.10 (as of 4/29 this is 10.10.3)
- Install and update to the most current version of Office 2016 (I downloaded the preview installer on 4/29, plus Excel 15.9, Outlook 15.9, PowerPoint 15.9, Word 15.9, and AutoUpdate 3.0.6)
- Create a second user via System Preferences' "Users & Groups" pane
- Log out
- Log in as the second user
- Open an Office 2016 Preview application (e.g. Word 2016)
Expected Results
----------------
Application opens without additional prompts.
Actual Results
--------------
User is prompted to allow an additional application to launch:
"You are opening the application “Microsoft AU Daemon” for the first time. Are you sure you want to open this application?
The application is in a folder named “MacOS.” To see the application in the Finder without opening it, click Show Application."
The response buttons are "Show Application", "Cancel", and "Open". If "Show Application" is clicked, the path to the application displayed is:
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app
This prompt is unnecessary and confusing for computers where the person using the computer is not the person who installed Office (such as a business or school).
Software configuration
----------------------
- OS X 10.10.3, all updates applied as of 4/29
- Office Preview (Preview installer downloaded on 4/29, plus applied Excel 15.9, Outlook 15.9, PowerPoint 15.9, Word 15.9, and AutoUpdate 3.0.6 updates)
Additional notes
----------------
- Testing the same procedure (install, update, log in with new user) with Office 2011 allows Microsoft AU Daemon to open (verified in Activity Monitor) without prompting the new user to allow Microsoft AU Daemon to run
- It appears the postinstall script (below) for the "Office15_all_autoupdate.pkg" (part of OfficePreview.pkg) attempts to address this issue by registering "Microsoft AU Daemon.app" with LaunchServices:
####
#!/bin/sh
if ! [[ $COMMAND_LINE_INSTALL && $COMMAND_LINE_INSTALL != 0 ]]
then
register_trusted_cmd="/usr/bin/sudo -u $USER /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -R -f -trusted"
application="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app"
if /bin/test -d "$application"
then
$register_trusted_cmd "$application"
fi
fi
exit 0
####
Regarding this postinstall script:
- This script cannot function for users other than the user who installed the Office Preview since it only attempts to update LaunchServices for $USER
- If the AutoUpdate 3.0.6 update is not applied (which includes a postinstall script that opens Microsoft AutoUpdate.app), even the user who installed the Office Preview is prompted to allow Microsoft AU Daemon to run