Silently Install Office 365

In explaining how to silently install office 365, we’ll use the 2016 version of Office 365. Bear in mind, this installation process (unlike the Office OCT, which cannot be used for Office 365) doesn’t uninstall other versions of Office. Check out this blog post for steps on uninstalling Office.

Preparing to Silently Install Office 365

1. Go to the Download Click-to-Run page on Microsoft’s site. This is so you can quickly download your Office products. Remember, you’ll need to download a version for each architecture you need to install this on. You’ll want to save your downloads to a file share.

2. Next, see this page: Deploy Click-to-Run, this is what you’ll use to help you successfully deploy Office. It’s important to note that you can deploy Office 365 to computers with Windows 7 or higher. (So no Windows XP…not that you needed another reason to upgrade.)

Customizing Your Configuration XML File

Try PDQ Deploy

After reviewing the information found the Deploy Click-to-Run page, you’ll need to build some XML files, so you’ll want to check out this link for the Click-to-Run reference guide so you can customize your installations for Office 365.

You can look at this example, but your XML file will likely look different based on your preferences, environment AND Office type.

office 365 xml configuration file

A couple things to watch for, make sure your SourcePath (the path you list where the Office installer resides) and the Product ID are accurate. Not all Office 365s are created equal, so make sure you take the time to find the correct product ID.

Deploying Your Custom Office 365

To install Office 365, you’ll want to create a command step in PDQ Deploy. Below is an example, and what we used in our webcast to configure and install Office.

"\\TOKEN\Deploy\Software\Microsoft\Microsoft Office\Office 365\2016\Setup\setup.exe" /configure "\\TOKEN\Deploy\Software\Microsoft\Microsoft Office\Office 365\2016\Setup\Configuration32.xml"

You’ll also want to make sure you include success codes: 0,1641,3010. Also, in conditions (available in Pro or Enterprise-levels of PDQ Deploy) be sure to set your package to run on the appropriate architecture (32-bit or 64-bit) for the installation. If you don’t set the architecture or if you are using Free mode it may take longer to deploy.

Now that you have the package built. Save it and exit out of the package window. Then, select your package from the left tree. Click Deploy and you’re ready to start selecting Windows computers for your deployment.

Start a trial of PDQ Deploy