Overview of Office Deployment Tool

Office Deployment Tool (ODT) is a command-line tool you can use to download and deploy Office 365 ProPlus on client computers. ODT provides more control over Office installation: you can specify which products and languages ​​are installed, how the product is updated, whether or not the installation experience is displayed on the user's computer.

Download Office Deployment Tool

Download the Office Deployment Tool and run its exe file, containing the Office Deployment Tool file (setup.exe) and sample configuration (configuration.xml). Before using ODT to download or install Office, we encourage you to download the latest version.

Start using the Office Deployment Tool

Office Deployment Tool consists of two files: setup.exe and configuration.xml. To work with this tool, you can edit the configuration file to determine the options you want, and then run setup.exe from the command line. For example, you can edit the configuration file to download a 32-bit version of Office English or edit to install a 32-bit version of Office English to automatically accept the EULA without Publisher.

When running the Office Deployment Tool , you need to provide the configuration file location and select the ODT running mode:

  • To download Office 365 ProPlus products and languages, use Download mode . For example: setup.exe / download downloadconfig.xml . Note that when you download Office into a folder that contains that version of Office, ODT protects network bandwidth by downloading only the missing files. For example, if you use ODT to upload Office in English and German to a directory that already contains Office English, only the German language pack is downloaded.
  • To install Office 365 ProPlus products and languages ​​on a client computer, use Configure mode . You also use this mode to migrate and update other Office products and languages, such as setup.exe / configure installconfig.xml.
  • To apply the new application configuration to a client computer with Office 365 ProPlus installed, use custom mode . This mode will only apply to application settings, without changing other deployment settings. For example: setup.exe / customize appsettingsconfig.xml .
  • To create an App-V package from downloaded Office 365 ProPlus products and language packs , use Packager mode . For example: setup.exe / packager packageconfig.xml .

You can also use Help mode to read command line help for this tool.

Download the installation file for Office 365 ProPlus

Follow these steps to download the Office 365 ProPlus installation file from the Office Content Delivery Network (CDN).

Step 1: Create a configuration file

When creating the configuration file, we encourage you to start with a template file and update it with the appropriate environment options. You can start by copying and pasting the form below into the text file, save it with the name of your choice, and then edit the XML elements and attributes to determine the options you want.

In this example, the configuration file downloads the installation file for 32-bit English version of Office 365 ProPlus and Visio Pro for Office 365 to \\ server \ share on the network.

<Configuration>
<Add SourcePath = "\\ server \ share" OfficeClientEdition = "32">
<Product ID = "O365ProPlusRetail">
<Language ID = "en-us" />
</Product>
<Product ID = "VisioProRetail" >
<Language ID = "en-us" />
</Product>
</Add>
</Configuration>

Step 2: Run the ODT exe file in the download mode

From the command line suggestion, run the ODT (.exe) file in download mode with the same reference to the saved configuration file. In this example, the configuration file is named downloadconfig.xml :

setup.exe / download downloadconfig.xml.

Step 3: Verify the downloaded files are complete

After running this command, go to the selected download location in the configuration file to find the Office folder and the corresponding files in it. If you're having problems, make sure you have the latest version of ODT. You can also solve this problem by reviewing the log file in the % temp% directory .

Download the installation file for Office 365 ProPlus from a local source

You can use the Office Deployment Tool to download Office 365 ProPlus installation files from a local source on the network instead of from the Office Content Delivery Network (CDN). By doing this, you can save a copy of multiple languages ​​and main products for Office and distribute only the language and product needed for other locations on the network.

To download from a local source, follow the steps for downloading Office with ODT, but include the download link configuration file. For example, this configuration file downloads the 32-bit English version of Office 365 ProPlus from \\ servera \ share ( DownloadPath file ) to \\ serverb \ share ( SourcePath file ):

<Configuration>
<Add SourcePath = "\\ serverb \ share" OfficeClientEdition = "32" Version = "16.0.6741.2056" DownloadPath = "\\ servera \ share">
<Product ID = "O365ProPlusRetail">
<Language ID = "en -us "/>
</Product>
</Add>
</Configuration>

Note, now you have to choose the version when using DownloadPath.

Install Office 365 ProPlus

After downloading the installation file of Office 365 ProPlus, follow these instructions to install Office on the client computer. As part of the installation, you can select the product you want to install.

Step 1: Create a configuration file

When creating the configuration file, start with the template file and update it with the option appropriate to the working condition. You can start by copying and pasting the form below into the text file, saving it with the chosen name, and then editing the XML elements and attributes to determine the desired option.

For example, the configuration file that installs the English 32-bit version of Office 365 ProPlus does not need Publisher:

<Configuration>
<Add SourcePath = "\\ Server \ share" OfficeClientEdition = "32">
<Product ID = "O365ProPlusRetail">
<Language ID = "en-us" />
<ExcludeApp ID = "Publisher" />
</ Product>
</Add>
<Display Level = "None" AcceptEULA = "TRUE" />
</Configuration>

The location of the Office installation file is \\ server \ share . The display level is None , which means you will not see any user interface during installation and AcceptEULA is set to TRUE - Users do not have to click to accept the EULA during installation.

Step 2: Run the ODT launch file (.exe) in configuration mode

From a command prompt, run ODT (.exe) in configuration mode with the same reference to the saved configuration file. In the following example, the configuration file is named installconfig.xml :

setup.exe / configure installconfig.xml

You must run the .exe file from a client computer that wants to install Office and you must have local admin rights on that computer.

Step 3: Validate the installation successfully

After running this command, you should see the Office installation run (unless you set the display to: None). After completing the installation, this command prompt will display " Products successfully configured. " If you encounter problems, make sure you have the latest ODT version. You can also fix the problem by reviewing the log file in the % temp% and % windir% \ temp directories .

Update Office 365 ProPlus

You can use the Office Deployment Tool to update client computers after installing Office 365 ProPlus. There are two ways to do this:

  • Use ODT to install Office 365 ProPlus again. It will update Office to the latest version. Note, only update the file has changed in the new version.
  • Use ODT to download the installation file, then point the client computer to the location where they will receive the update. (By default, update clients directly from the Office Content Delivery Network - CDN.)

To change the location of the client receiving the update, run ODT in configuration mode and specify the update path in the configuration file. For example, automatically update Office 365 ProPlus from the \\ server \ updates network share, including the following path in configuration.xml file:

<Updates Enabled = "TRUE" UpdatePath = "\\ server \ updates" />

Note: This article does not cover all issues related to Office update management in the organization.

Exclude or move Office 365 ProPlus products from client computers

When installing Office 365 ProPlus, you can exclude unwanted products. To do this, in addition to following the steps to install Office with ODT, attach ExcludeApp in the configuration file. For example, this configuration file installs all Office 365 ProPlus products, except Publisher :

<Add SourcePath = "\\ Server \ share" Version = "15.1.2.3" OfficeClientEdition = "32">
<Product ID = "O365ProPlusRetail">
<Language ID = "en-us" />
<ExcludeApp ID = "Publisher" />
</Product>
</Add>

If you already have Office 365 ProPlus installed, you can also use ExcludeApp to remove previously installed products. For example, the aforementioned configuration file moves Publisher from an earlier Office installation.

You can also remove the entire language version of Office 365 ProPlus as follows: Follow the steps to exclude the Office installation product with ODT, but replace the configuration file with a file using the Remove component . For example, this configuration file removes the Spanish version of Office 365 ProPlus:

<Configuration>
<Remove>
<Product ID = "O365ProPlusRetail">
<Language ID = "es-es" />
</Product>
</Remove>
</Configuration>

Remove OneDrive when installing Office 365 ProPlus or other applications

OneDrive automatically installs according to Office 365 ProPlus, Word, Excel, PowerPoint , Publisher, Visio, and Skype . If you don't want to install OneDrive with these apps, use ExcludeApp:

<Add SourcePath = "\\ Server \ share" Version = "15.1.2.3" OfficeClientEdition = "32">
<Product ID = "O365ProPlusRetail">
<Language ID = "en-us" />
<ExcludeApp ID = "OneDrive" />
</Product>
</Add>

Install Office with the client operating system language

When using ODT, you can automatically set the Office language to match the language displayed in the client operating system. To do this, use Language ID = "MatchOS" in the configuration file.

For example, the configuration file installs a 32-bit version of Office 365 ProPlus with the language of the client operating system - English for clients with display languages ​​English, Japanese for Japanese clients, etc.

<Configuration>
<Add OfficeClientEdition = "32">
<Product ID = "O365ProPlusRetail">
<Language ID = "MatchOS" />
</Product>
</Add>
</Configuration>

Add languages ​​to an existing Office 365 ProPlus installation

After installing Office, you can use ODT to install additional language packs for Office. To do this, follow the steps to install Office with ODT, but use the new configuration file that uses " LanguagePack " as the product ID and indicate the language to be added.

By default, ODT will install the language from where Office updates. If you want to install the language from another source location, select the source path in the configuration file.

Step 1: Download the Office installation file in the language you want to add

If Office in your organization updates from a local source, you must download the Office installation file for the language you want to add.

Step 2: Create a configuration file to add to the language pack

When creating the configuration file, it is best to start with the template file first and update it with the appropriate options. You can start by copying and pasting the example below into a text file, saving it as a name of choice, and making sure that OfficeClientEdition and the language ID contain the things you want.

In this example, the configuration file installs the French and Japanese language packs:

<Configuration>
<Add OfficeClientEdition = "32">
<Product ID = "LanguagePack">
<Language ID = "fr-fr" />
<Language ID = "ja-jp" />
</Product>
</Add>
< / Configuration>

Step 3: Run the ODT (.exe) file in configuration mode

From a command prompt, run the ODT installation file in configuration mode referring to the saved configuration file. In the following example, the configuration file is named installlanguage.xml : setup.exe / configure installlanguage.xml.

You must run the .exe file from the client computer to install Office and you must have administrative rights on that computer.

Apply application settings for Office 365 ProPlus

As part of the deployment, you can define application settings for Office 365 ProPlus, including VBA Macro notifications, default file location and formats. To do this, you deploy Office using standard steps in installing Office 365 ProPlus, but include application settings in the configuration file.

To create the configuration file, it is best to use the Office Customization Tool for Click-to-Run (Preview), a web application with a complete UI. Note that this tool is still in the "preview" stage, so there will be many changes in the future:

  1. Open the Office Customization Tool for Click-to-Run (preview) in the web browser, then follow the steps to create the configuration file, including determining application settings besides standard deployment settings.
  2. Export file.
  3. Follow the steps in installing Office 365 ProPlus to deploy Office with the newly created configuration file.

In this example, the configuration file installs Office 365 ProPlus English 32-bit and displays the Trust Bar for all VBA macros in Excel.

<Configuration>
<Add OfficeClientEdition = "32" Channel = "Broad">
<Product ID = "O365ProPlusRetail">
<Language ID = "en-us" />
</Product>
</Add>
<AppSettings>
<User Key = "software \ microsoft \ office \ 16.0 \ excel \ security"
Name = "vbawarnings"
Value = "3"
Type = "REG_DWORD"
App = "excel16"
Id = "L_VBAWarningsPolicy" />
</AppSettings>
</Configuration>

This file is created with the Office Customization Tool for Click-to-Run (preview). For more detailed information on application setup, explore the options included in the tool.

Apply application settings to existing Office 365 ProPlus

You can apply new application settings to client computers that have Office 365 ProPlus installed without having to change any deployment settings. To do this, create a configuration file containing application settings and run ODT in custom mode. In addition to installing applications, this mode rejects all other configuration file settings.

  1. Use the steps in applying application setup to Office 365 ProPlus to create configuration files.
  2. From the command prompt, run the ODT (.exe) file in a custom mode that references the newly created configuration file. In the following example, the configuration file is named installappsettings.xml:

setup.exe / customize installappsettings.xml

You must run that exe file from the client computer to install Office. Of course, you need to have local admin rights on that computer.

Create App-V package for Office 365 ProPlus

In addition to downloading and deploying Office 365 ProPlus, you can also use the Office Deployment Tool to create App-V packages. Do this as follows: update the configuration file, then run ODT in Packager mode. You must create App-V packages on computers that have a clean operating system installation.

Step 1: Create a configuration file

Encourage starting with the sample file (example) and updating it with options appropriate to the working environment. You can start by copying and pasting the example below into a text file, naming and saving it, and then editing XML elements and attributes to specify the options you want.

In this example, the configuration file creates an App-V package from the 32-bit English version of Office 365 ProPlus without Publisher:

<Configuration>
<Add SourcePath = "\\ Server \ share" OfficeClientEdition = "32">
<Product ID = "O365ProPlusRetail">
<Language ID = "en-us" />
<ExcludeApp ID = "Publisher" />
</ Product>
</Add>
</Configuration>

The location of the Office installation file is \\ server \ share . For configuration files, replace the sample values ​​with the appropriate environment option.

Step 2: Run the ODT (.exe) file in Packager mode

From a command prompt, run the ODT (.exe) file in packager mode, refer to the saved configuration file and to the location where you want to save the App-V package. In the following example, the configuration file named packageconfig.xml and the App-V package will be saved at \\ server \ share \ appv \ :

setup.exe / packager packageconfig.xml \\ server \ share \ appv \

Step 3: Verify the package has been created

After running the command, the package location should contain the App-V Packages and WorkingDir folders . You can fix the problem by reviewing the log file in the % temp% directory .

Hope the article is helpful to you

Sign up and earn $1000 a day ⋙

Best Video Recording and Editing Software 2025: iTop Screen Recorder Review

Best Video Recording and Editing Software 2025: iTop Screen Recorder Review

Have you ever found yourself in a position where you need a powerful and reliable screen recording tool? Well, look no further, iTop screen recorder is the best pick.

Exploring the Features of IP Anonymizer Database

Exploring the Features of IP Anonymizer Database

In an era where online privacy and data protection have become paramount concerns for individuals and organizations alike, the need for effective tools to safeguard personal information is more critical than ever. The IP Anonymizer Database emerges as a vital resource for those seeking to navigate the complexities of digital anonymity.

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos. If you want to add color to old black & white photos, use one of the AI ​​tools below.

7 rules for storing a bank card

7 rules for storing a bank card

Each bank card is marked with important information - number, owner’s name, expiration date, CVC or CVV and a chip, thanks to which payments are made at terminals (including contactless). In order for this information to be preserved, it is important to treat the means of payment with care.

IObit Malware Fighter 11 Review 2024

IObit Malware Fighter 11 Review 2024

When your computer gets attacked by a virus or malware, you’ll certainly such for a powerful antivirus to fight back. Well, IObit Malware Fighter is exactly what you need. From its name alone, you can be certain that you are getting the tough protection your computer needs.

How To Find Quality And Fast Internet In Montreal

How To Find Quality And Fast Internet In Montreal

Montreal, a city brimming with culture, history, and Poutine (a famous Canadian dish), deserves an internet connection that can keep up. Whether you’re a streamer glued to Twitch, a workaholic juggling video conferences, or a casual web surfer, a reliable and fast internet plan is essential.

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018, Google has officially announced that it will stop supporting Google Drive for desktop and then the company will remove the application.

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error, AirDrop not working on iPhone, iPad, Mac what to do? This article will provide you with simple ways

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024, Which is the best lightweight, free, high-quality computer screen recording software? Let's find out the top with WebTech360

What is an email address? How to get an email address?

What is an email address? How to get an email address?

What is an email address? How to get an email address?, What is an email address? What is email address entry? This article will answer all your related questions

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for your computer you need to know, WhatsApp is one of the most popular free messaging apps today. The keyboard shortcuts below will help

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Discover the vibrant social scene of baccarat on Tedbet, where players worldwide connect, chat, and enjoy the excitement of live dealer games.

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok, Finding videos on TikTok is not difficult. Let's learn together how to find the original video on TikTok or find the Tik Tok clip you want to watch

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks, BlueStacks has made important improvements for Free Fire gamers. Please upgrade BlueStacks 4.230.10

Huang you: Butter Camera sparkling photo editing app

Huang you: Butter Camera sparkling photo editing app

Huang you: Sparkling photo editing application Butter Camera, Huang you (黄油 相机) is an extremely hot Chinese editing application today, here we would like to invite you

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know, Chrome Web Store or Chrome Web Store offers a selection of apps, extensions and stylish browser wallpapers

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?, What is CapCut? Is music on CapCut copyrighted? Let's find out with WebTech360 what you need to know about CapCut!

Why is buying TikTok coins cheaper on PC?

Why is buying TikTok coins cheaper on PC?

Why is it cheaper to buy TikTok coins on PC?, TikTok gives users the option to exchange real money for coins in the app. However, buying TikTok coins on PC is cheap

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?, Zoom is an indispensable remote online learning and working software during the epidemic, but it can be extremely bandwidth-consuming.

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past, EmuOS is a Web interface that simulates basic Windows 3.1, 95, 98, NT operating systems that provide a lot