This is the "instruction manual." It tells the setup file exactly which apps to install (Word, Excel, etc.), which language to use, and how to handle licensing. 📝 Creating the XML Configuration
Here is an example configuration-office2021enterprise.xml file: setup.exe configure. configuration-office2021enterprise.xml
To install Microsoft Office 2021 Enterprise (LTSC) Office Deployment Tool (ODT) and your specific configuration file, follow these steps: 1. Prepare the Environment Download the ODT : Get the latest Office Deployment Tool from the official Microsoft Download Center. Extract Files : Run the downloaded to extract and sample XML files into a dedicated folder, such as Place Your XML : Save your configuration-office2021enterprise.xml into that same folder. Microsoft Learn 2. Verify XML Content Extract Files : Run the downloaded to extract
Use Display Level="None" to avoid prompts during logon. ExcludeApp ID="Access" />
<ExcludeApp ID="Access" /> <ExcludeApp ID="Publisher" /> <ExcludeApp ID="Outlook" /> <!-- Keep Word, Excel, PowerPoint by not excluding them -->
Add this inside <Add> :
The configuration file for Office 2021 Enterprise installation is typically an XML file. This file contains parameters and settings that control how the Office installation proceeds.