Download and Install Office 2021 using Office Deployment Tool

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.
Download and Install Office 2021 using Office Deployment Tool

Download Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

How to Install Office 2021 with Office Deployment Tool

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

In this example, the configuration file downloads the installation files for a 64-bit English edition of Microsoft Office 2021 Professional Plus and the volume license version of the Visio 2021 Pro and Project 2021 Pro.

<Configuration>

  <Add OfficeClientEdition="64" Channel="PerpetualVL2021">
    <Product ID="ProPlus2021Volume">
      <Language ID="en-us" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="VisioPro2021Volume">
      <Language ID="en-us" />
    </Product>
    <Product ID="ProjectPro2021Volume">
      <Language ID="en-us" />
    </Product>
  </Add>

  <Remove All="True" />

  <!--  <RemoveMSI All="True" /> -->
  <!--  <Display Level="None" AcceptEULA="TRUE" />  -->
  <!--  <Property Name="AUTOACTIVATE" Value="1" />  -->

</Configuration>

Create a configuration file

In this post, we’ll download the Microsoft Office 2021 Professional Plus. 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.

Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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

Note

Change the Product ID to to download and install Microsoft Office Standard 2021.

<Configuration>

  <Add OfficeClientEdition="64">
    <Product ID="ProPlus2021Volume">
      <Language ID="en-us" />
    </Product>
  </Add>

</Configuration>
Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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.

Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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:

Download and Install Office 2021 using Office Deployment Tool

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.

Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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.

Download and Install Office 2021 using Office Deployment Tool

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

Download and Install Office 2021 using Office Deployment Tool

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.

Download and Install Office 2021 using Office Deployment Tool

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 2021, Visio 2021 and Project 2021.

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

<Configuration>

  <Add OfficeClientEdition="64">
    <Product ID="ProPlus2021Volume">
      <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.

Download and Install Office 2021 using Office Deployment Tool

Comments (3)

Leave a Comment

Required fields are marked *