How to Install Microsoft Office Using Office Deployment Tool ODT

Table of Contents

What Is Office Deployment Tool

Office Deployment Tool is short for Office ODT which is a command-line tool used to download and deploy Microsoft 365, Office 2021, Office 2019 apps on Windows PCs. That is to say, you can download and configure Click-to-Run versions of Office utilities like Microsoft 365 apps for enterprise.

To be specific, the ODT tool gives you more control over an Office configuration file. You can configure which product, language, display, and property elements are installed, how to update them, whether or not to display the install experience to your users, etc.

To know more details about configuration options for Office Deployment Tool, you can read Microsoft document.

Microsoft Office Deployment Tool package comes with two kinds of file:

  • setup.exe: The main application of the Office Deployment Tool.
  • configuration-*.xml: Some XML configuration files. Here are some pre-built XML configuration files from Microsoft. You can use it to download and install Office 365, Office 2019 Enterprise and Office 2021 Enterprise.
How to Install Microsoft Office Using Office Deployment Tool ODT

Download Office Deployment Tool

1. Open this link download the Office Deployment Tool from Microsoft Download Center.

How to Install Microsoft Office Using Office Deployment Tool ODT

2. Open downloaded file, in the Microsoft Office Click-to-Run Administrator window, select the checkbox for the Microsoft License Terms and click on .

How to Install Microsoft Office Using Office Deployment Tool ODT

3. In the pop-up window, select a location to save the extracted Microsoft Office 365 Deployment Tool package and click on .

How to Install Microsoft Office Using Office Deployment Tool ODT

After that, you can install Office 365 apps with the Office Deployment Tool. If you don’t know how to do that, keep reading the following part.

How to Install Microsoft Office Using Office Deployment Tool ODT

How to Install Office 365 with Office Deployment Tool

Let’s take a look the example file configuration-Office365-x64.xml in the extracted folder.

In this example, the configuration file downloads the installation files for a 64-bit English edition of Microsoft 365 Apps for enterprise and the subscription version of the Visio desktop app.

For more information about the configuration options and more examples, see Configuration options for the Office Deployment Tool.

<Configuration>

  <Add OfficeClientEdition="64" Channel="Current">
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
    </Product>
    <Product ID="VisioProRetail">
      <Language ID="en-us" />
    </Product>
  </Add>

  <!--  <Updates Enabled="TRUE" Channel="Current" /> -->
  <!--  <Display Level="None" AcceptEULA="TRUE" />  -->
  <!--  <Property Name="AUTOACTIVATE" Value="1" />  -->

</Configuration>

Create a configuration file

In this post, we’ll download the Microsoft 365 Apps for Enterprise. We don’t reuse the pre-built xml configuration files. We’ll create a configuration file from the beginning. To do it:

1. Delete all sample xml configuration file in the extracted folder. Now, you have only single setup.exe file in this location.

How to Install Microsoft Office Using Office Deployment Tool ODT

2. In the extracted folder, right click on the blank then create a new text document.

How to Install Microsoft Office Using Office Deployment Tool ODT

3. Open the newly created text document then enter the following code. In this code:

<Configuration>

  <Add OfficeClientEdition="64" Channel="Current">
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
    </Product>
  </Add>

</Configuration>
How to Install Microsoft Office Using Office Deployment Tool ODT

4. Next, you need to save the text file as xml file. To do it, let's navigate to the menu then select option.

How to Install Microsoft Office Using Office Deployment Tool ODT

5. In the Save As window, by default the file extension is Text Documents (*.txt). You need change the Save as type to All Files option.

In the File name field, enter the name exactly configuration.xml.

How to Install Microsoft Office Using Office Deployment Tool ODT

Now, we’ve two files in the extracted folder setup.exe and configuration.xml.

How to Install Microsoft Office Using Office Deployment Tool ODT

Run Office Deployment Tool in configure mode (Install)

1. On the folder path containing the setup.exe file. Click on the address bar in the File Explorer and type then press . The purpose of this is to help you launch the Command Prompt in the correct path. As the image below:

How to Install Microsoft Office Using Office Deployment Tool ODT

2. Run the following command to download and install Microsoft Office using Office Deployment Tool.

setup.exe /configure configuration.xml

3. When the command runs successfully, you will see a pop-up window showing Office is being installed. Wait for the Office installation to complete.

How to Install Microsoft Office Using Office Deployment Tool ODT

4. Once done, reopen any Office app such as Word to verify it works.

How to Install Microsoft Office Using Office Deployment Tool ODT

Run Office Deployment Tool in download mode (Download)

In some cases, you want to download Microsoft Office apps to install on multiple computers without the internet connection.

To achieve this goal, you need to run the Office Deployment Tool in the download mode. In the command prompt window, let's change parameter to parameter.

setup.exe /download configuration.xml

3. It will look as if nothing is happening, but your product will be downloading in the background.

How to Install Microsoft Office Using Office Deployment Tool ODT

4. And the Office Deployment Tool will create a folder named Office in the same folder that contact the setup.exe file.

How to Install Microsoft Office Using Office Deployment Tool ODT

4. How do we know the download process is completed ?

The download will be a large file and might take a while to finish. Once the download is completed, you will be returned to the Command Prompt.

How to Install Microsoft Office Using Office Deployment Tool ODT

Finally, when the download has finished, you're ready to install the product without the internet connection. Type into the Command Prompt.

Alternatively, you can create a batch file to install Microsoft Office click to run without typing any commands.

Download and install multiple Microsoft products at once

In some cases, you want to install multiple Microsoft products at once such as Office 365, Visio and Project.

To achieve that goal, let’s add the additional products inside the <Add>…</Add> block of your xml configuration file.

<Configuration>

  <Add OfficeClientEdition="64" Channel="Current">
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
    </Product>
    <Product ID="ProjectPro2019Volume">
      <Language ID="en-us" />
    </Product>
    <Product ID="VisioPro2019Volume">
      <Language ID="en-us" />
    </Product>
  </Add>

</Configuration>

Type setup.exe /configure configuration.xml into the Command Prompt window to download and install all products at once.

How to Install Microsoft Office Using Office Deployment Tool ODT

Leave a Comment

Required fields are marked *