Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created January 14, 2016 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrouton/9f444c49d38a2554a028 to your computer and use it in GitHub Desktop.
Save rtrouton/9f444c49d38a2554a028 to your computer and use it in GitHub Desktop.
Office 2016 installer postinstall script
#!/bin/bash
# Determine working directory
install_dir=`dirname $0`
# Install unlicensed Office 2016
/usr/sbin/installer -dumplog -verbose -pkg $install_dir/"Microsoft_Office_2016_Installer.pkg" -target "$3"
# Install Office 2016 Volume License Serializer
/usr/sbin/installer -dumplog -verbose -pkg $install_dir/"Microsoft_Office_2016_VL_Serializer.pkg" -target "$3"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment