Skip to content

Instantly share code, notes, and snippets.

@packetpilot
Created May 21, 2012 20:16
Show Gist options
  • Select an option

  • Save packetpilot/2764386 to your computer and use it in GitHub Desktop.

Select an option

Save packetpilot/2764386 to your computer and use it in GitHub Desktop.
(flawed) SP2 full installer + 14.2.2 update postflight
#!/bin/sh
# SP2 Corporate Full Installer (name unaltered from source iso in this path example)
installer -dumplog -verbose -pkg "$1/Contents/Resources/Office Installer.pkg" -target / -applyChoiceChangesXML "$1/Contents/Resources/noquit.xml"
# Bitterly patch the gaping maw
chown -R root:admin /Applications/Microsoft\ Office\ 2011
chmod -R o-w /Applications/Microsoft\ Office\ 2011
# 14.2.2 update (name unaltered from source dmg in this path example)
installer -dumplog -verbose -pkg "$1/Contents/Resources/Office 2011 14.2.2 Update.pkg" -target / -applyChoiceChangesXML "$1/Contents/Resources/noquit.xml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment