Customize Office365 installation

We’re using Office 365 to support Choose Your Own Device. On my Windows laptop I’ve installed it. There is no option to remove unneeded programs after the installation. To save some room (like on a SSD) you can configure which programs to install.

office365

First you’ll need to get the Office Deployment Tool for Click-to-run (download page) or search for it on microsoft.com downloads.

Run the tool with /extract option. This will put the setup.exe and configuration.xml files on disk.

officedeploymenttool /extract:d:\Personal\Downloads\office

Now edit the configuration.xml to exclude applications you don’t want. Microsoft has a technet article about the options. Below is mine

<Configuration>
   <Add OfficeClientEdition="32">
      <Product ID="O365ProPlusRetail">
         <Language ID="nl-nl"/>
         <ExcludeApp ID="Publisher"/>
         <ExcludeApp ID="InfoPath"/>
         <ExcludeApp ID="Access"/>
         <ExcludeApp ID="OneNote"/>
         <ExcludeApp ID="OneDrive"/>
      </Product>
   </Add>
   <Updates Enabled="TRUE"/>
   <Display AcceptEULA="TRUE" Level"None"/>
   <Logging Path="d:\Personal\Downloads\office"/>
</Configuration>

Only two more commands and you’re done

setup /download configuration.xml
setup /configure configuration.xml

The first command will download the installation files. The second will do the installation. Both take in account only the programs you want to have. You might also want to do a (Windows) update.

No more unwanted programs = extra free space on your drive. And we all love free space!

About erictummers

My work as a recruited developer changes almost every month. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s