We are trying to deploy a policy to install Microsoft Office 2016. Our build process utilizes splashbuddy. The process hangs up after Microsoft Office installs successfully but displays:
"The Microsoft Office Setup Assistance is not optimized for your Mac and needs to be updated".
What's funny is the installer is 64bit, but apparently the setup assistant is not? Strange...
We tried to suppress the notification with the following pre-flight Script:
#!/bin/bash defaults write -g CSUIDisable32BitWarning -boolean TRUE
Once the install is complete, we re-enable via post-flight script:
#!/bin/bash defaults delete -g CSUIDisable32BitWarning
Unfortunately, our efforts are coming up fruitless. Does anyone have any suggestions for disabling the non-optimized app?
Your script seems to be missing a component. Try these:
/usr/bin/defaults write com.apple.coreservices.uiagent CSUIDisable32BitWarning -boolean TRUE
/usr/bin/defaults delete com.apple.coreservices.uiagent CSUIDisable32BitWarning
I suggest you take the first command and create a plist file that you can upload to Jamf Pro and then deploy as a configuration profile. Write the plist to your desktop using:
/usr/bin/defaults write ~/Desktop/com.apple.coreservices.uiagent.plist CSUIDisable32BitWarning -boolean TRUE
Then in Jamf Pro create a new configuration profile with a Custom Settings payload. Upload the plist from your desktop and scope to your Macs.