Deploy Office 365 , LTSC 2021 , Office 2019 using ODT

Deploy Office 365, LTSC 2021, Office 2019 using ODT 

Ref: Overview of the Office Deployment Tool - Deploy Office | Microsoft Docs

Office Deployment Tool (ODT)

The office deployment toolkit is a command-line tool that you can use to download and deploy Microsoft 365 Apps to the client computer.

 Download the Office Deployment Tool (ODT)

Ref: Download Office Deployment Tool from Official Microsoft Download Center

Download the ODT from above link. After downloading you are required to run the .exe file which contains the "Setup.exe" and "Configuration.xml"

Getting start with Office Deployment Tool (ODT)

Step 1. Download the file from the above link. You can check the system requirements and the other details while downloading.

Step 2. You will see the file has been downloaded in the Downloads folder



Step 3. Right click the file and “Run as administrator”

Step 4. You will be prompted to select “Yes” or “No”. Click on “Yes”

Step 5. Accept the Microsoft Software License Terms and Continue

Step 6. You are now asked to select the folder to save the extracted files

For this demo, I have created a file named M365 Installer in C: Drive

Step 7. Once you click “OK”. You will receive a notification that the file has been extracted successfully in the specific folder.


You will now, be able to see the “setup” and the "configuration files" which was extracted

You can see the setup file and the XML files with different versions. The XML files can be used as to download the application. For example, If I need to install 64 Bit Office365 Enterprise Application then I can use the first XML file with named “Configuration-Office365-x64”.

If you want more customization in the XML, then you can proceed with the customization tool. Below is the link for the customization tool.

Ref: Microsoft 365 Apps admin center (office.com)

Note: Below steps are for the creation of customized XML

A. Open above link and click on "Create a new configuration".


 B.Choose the Architecture that you want to deploy

C. You can select the specific office suites product as per the requirements

For this demo I am going to choose Office 365  Apps for enterprise

D. If you want to install “Visio”, “Project” you can also select the available options but for this demo I am selecting none.

E. For update channels and version, leave as default or you can change as per the requirements.

F. Turn on the app that you want to deploy as per your requirement

G. Turn on or off and click on Next

H. Select the languages as per your requirements and click on Next

I. Choose “Office CDN” or “Local source”

J. You can turn on or off the below settings and click on Next

K. By default, all the setting is turned on. If you turn on these settings, then the previous version of office along with Visio and Project will be uninstalled. In most of the cases the Visio and Project comes with separate licenses thus you need to decide if you want to uninstall the office only or uninstall including Visio and Project.

For this demo, I have turned on the Uninstall any MSI version of office but turned of all other settings which will uninstall the office products except Visio, Project, SharePoint Designer, and InfoPath.

L. Click on next

M. Turn on the EULA (End User License Agreement)

N. Product Activation is user based for "O365 Apss for Enterprise" and click on Next

O. Provide General description “if you know” and click on Next

P. Under Application preferences you can customize as per the requirements but for this demo,I'm keeping everything as default.

Q. Scroll down, Click on Finish and Click on Export

R. Select “Keep Current settings” and Click on OK

S. Accept the Terms in the license agreements, Enter the File name and Click on “Export”


The XML file is now downloaded.

T. Copy and paste the XML file in the folder that we have created earlier. For installation of 64 Bit-Office 365 apps for enterprise, you have now two XML files one is the default i.e. "configuration-Office365-x64" and another is the customized one that you have just created i.e."M365".
Note: You can choose any of these but for this demo I will go through the customized XML



You can also view the codes of both the XML.To View the codes, you can simply right click and edit the files

Codes used in default XML file

Codes used in customized XML file


Continuing Step 7

Now you are required to go through two steps

1.Download the Microsoft 365 Apps product based on the XML that you created.

2.Install the downloaded Microsoft 365 Apps


Step 8. From the Start menu search Command Prompt and Run as Administrator

Step 9. Click on Yes

Step 10.Change the current directory path to the directory where the setup and XML files are located. Use the below command:

 C:\windows\system32>cd c:\M365Installer 

Note: Don’t keep the space in the folder name

Step 11. Download the Microsoft 365 Apps product based on the XML that you created.

To download use the script below

C:\M365Installer>Setup.exe /download configuration.xml

After pressing enter you will now be able to see the folder named “Office” which is being downloading according to the customized configuration.

You can also see the bandwidth consumption from the task manager. It will take time to download depending on your network speed. (Approx. size of file is around 3.18 GB) 

Once the download is complete, the cursor will reach on C:\M365Installer>_


Step 12. You can now proceed with the installation process. Use the below command to install with the XML file.

C:\M365Installer>Setup.exe /configure configuration.xml


13. Soon after you press enter key, you will be prompted to select "Yes" or "No". Click on Yes


After few seconds, you will see the things are getting ready and in the process of installation.


Installed Succesfully

Step 14. You are now required to Activate the Product with your email address which are assigned with enterprise license.



The difference you see while creating XML for office 365 apps for enterprise, Office 2019 and LTSC 2021 is that you are required to provide the KMS or MAK key during the time of creating the configuration XML.

Follow the below article to deploy Office 2019 & LTSC 2021 with the available Multiple Activation Key (MAK) & Key management Services (KMS)

Deploy Office LTSC 2021 - Deploy Office | Microsoft Docs

Deploy Office 2019 (for IT Pros) - Deploy Office | Microsoft Docs

Previous Post Next Post

Ads.

Ads..