customizing office 2016?

Not applicable

hi all
we have a large enterprise with a lot of mac users and we plan on deploying office 2016 to them.
currently - our office package we created, has the installer w/ serialize, but no custom is done to it.
my question is, is there a way to edit the package with the user info, the exchange server, disabling the first launch screen (Get Started), etc......... to it?

then I can re-package after all customization is done & deploy it thru casper remote

8 REPLIES 8

Rememberfarley
New Contributor III

https://www.office4mac.com/courses/mgmt300

Not applicable

@Rememberfarley this is good, but im not looking to pay....

gachowski
Valued Contributor II

@vferra

There are three classes and I am 99% sure you don't have to pay I didn't. You can watch the videos and get the files... for free..

C

That said I don't have it working after 3 or 4 tries. : ) but I think it's my issue as we are using local accouts

djdavetrouble
Contributor III

I use derflounder's config profiles to disable firstlaunch, and choose save to local folder. I would start there. even the comments contain useful info.

https://derflounder.wordpress.com/category/office-2016/

gabe2385
New Contributor III

I use a combination of what @djdavetrouble put up from derflounder and his other post: https://derflounder.wordpress.com/2013/11/03/re-packaging-installer-packages-with-packages/
I do this package for each MS software and after the installation run the serialization package. Here is an example of how my script looks like with Microsoft Word hope this helps:

#!/bin/sh
###################################################################################################################
##Microsoft Patch Management Script to Call the Policy
##This script is for Microsoft Word
# Thanks to derflounder for using this with Packages https://derflounder.wordpress.com/category/office-2016/
##Created by Gabriel Marcelinog Mac Specialist - Montclair State University
## Edit to get rid of the opening splash page and login screen!! 01/02/2018
## Edit to add Caffeinate and make the Packages more universal
###################################################################################################################
##Caffeinate
/usr/bin/caffeinate -dis &
caffeinatePID=$(echo $!)

# Determine working directory

install_dir=`dirname $0`

# Install Office 2016 using the specified installer packages in the working directory

/usr/sbin/installer -dumplog -verbose -pkg $install_dir/"Microsoft_Word_Installer.pkg" -target "$3"

rm -r /Library/Application Support/Microsoft/MAU2.0

###################################################################################################################

# Office 2016 for Mac presents "first run" dialogs to the user to market some of its new features.
# This script will suppress these "first run" dialogs using the following settings:
# 
# Setting: kSubUIAppCompletedFirstRunSetup1507 – boolean value (true / false)
# Function: Suppresses the "What’s New" dialog for Office 2016 applications' first launch
#
# Setting: FirstRunExperienceCompletedO15 – boolean value (true / false)
# Function: Suppresses additional "What’s New" dialog for Outlook and OneNote.
# Note: That is a capital letter O in "O15", not zero15.
#
# Setting: SendAllTelemetryEnabled – boolean value (true / false)
# Function: Suppresses the offer to send crash reports to Microsoft
#
# Source for settings: 
# http://macops.ca/disabling-first-run-dialogs-in-office-2016-for-mac/

# Set whether you want to send diagnostic info back to Microsoft. If you want to
# offer the choice of sending diagonostic data back to Microsoft, set the following
# value for the submit_diagnostic_data_to_microsoft variable:
#
# submit_diagnostic_data_to_microsoft=true
#
# By default, the values in this script are set to send no diagnostic data to Microsoft:
###################################################################################################################

submit_diagnostic_data_to_microsoft=false

DisableOffice2016FirstRun(){

   # This function will disable the first run dialog windows for all Office 2016 apps.
   # It will also set the desired diagnostic info settings for Office application.

   /usr/bin/defaults write /Library/Preferences/com.microsoft."$app" kSubUIAppCompletedFirstRunSetup1507 -bool true
   /usr/bin/defaults write /Library/Preferences/com.microsoft."$app" SendAllTelemetryEnabled -bool "$submit_diagnostic_data_to_microsoft"

   # Outlook and OneNote require one additional first run setting to be disabled

   if [[ $app == "Outlook" ]] || [[ $app == "onenote.mac" ]]; then

     /usr/bin/defaults write /Library/Preferences/com.microsoft."$app" FirstRunExperienceCompletedO15 -bool true

   fi

}



# Run the DisableOffice2016FirstRun function for each detected Office 2016
# application to disable the first run dialogs for that Office 2016 application.

if [[ -e "/Applications/Microsoft Excel.app" ]]; then
app=Excel

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft OneNote.app" ]]; then
app=onenote.mac

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft Outlook.app" ]]; then
app=Outlook

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft PowerPoint.app" ]]; then
app=Powerpoint

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft Word.app" ]]; then
app=Word

DisableOffice2016FirstRun

fi

##Kill Caffeinate
kill ${caffeinatePID}
exit 0

Not applicable

@gabe2385 Thanks for the guidance, but I am little confused... so after i install office 2016 and run the serializer, i start to open each application and get presented with the welcome / sign in / first run popups...
In order for me to suppress those from popping up for my users...../.do I run this script you gave me after the install?
see below to make sure i copied your script correctly":

#!/bin/sh
DisableOffice2016FirstRun(){

   # This function will disable the first run dialog windows for all Office 2016 apps.
   # It will also set the desired diagnostic info settings for Office application.

   /usr/bin/defaults write /Library/Preferences/com.microsoft."$app" kSubUIAppCompletedFirstRunSetup1507 -bool true
   /usr/bin/defaults write /Library/Preferences/com.microsoft."$app" SendAllTelemetryEnabled -bool "$submit_diagnostic_data_to_microsoft"

   # Outlook and OneNote require one additional first run setting to be disabled

   if [[ $app == "Outlook" ]] || [[ $app == "onenote.mac" ]]; then

     /usr/bin/defaults write /Library/Preferences/com.microsoft."$app" FirstRunExperienceCompletedO15 -bool true

   fi

}



# Run the DisableOffice2016FirstRun function for each detected Office 2016
# application to disable the first run dialogs for that Office 2016 application.

if [[ -e "/Applications/Microsoft Excel.app" ]]; then
app=Excel

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft OneNote.app" ]]; then
app=onenote.mac

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft Outlook.app" ]]; then
app=Outlook

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft PowerPoint.app" ]]; then
app=Powerpoint

DisableOffice2016FirstRun

fi

if [[ -e "/Applications/Microsoft Word.app" ]]; then
app=Word

DisableOffice2016FirstRun

fi

##Kill Caffeinate
kill ${caffeinatePID}
exit 0

Not applicable

Forgot to mention..... out install package does not have onenote..... so should i remove it from the script?

gabe2385
New Contributor III

Hey @vferra The script is meant to go inside your packages. Just to give you an idea the above script was for word only. We don't deploy one package for the office suite but for every individual package. also please read this article
https://derflounder.wordpress.com/2013/11/03/re-packaging-installer-packages-with-packages/ This article explains how to use an application call packages and add the script inside the packages the script doesn't really work after the package is install. I also use this method for every MS update which you can find here:
https://macadmins.software
I just download the packages rename them to match the script move them to packages add the script and build a new package. this also suppresses the splash screen, sign in and updates. Hope this help clear things up for you.