How to Use Office Deployment Tool ExcludeApp to Install Only the Microsoft 365 Apps You Need
Question details
A user configuring the Office Deployment Tool needs to install only selected Microsoft 365 applications and asks whether an IncludeApp element is available.

- Product
- Microsoft 365 / Office Deployment Tool
- Device & OS
- not provided
- Scenario
- Creating a customized Microsoft 365 deployment package using the Office Deployment Tool configuration file.
- Observed behavior
- The Office Deployment Tool does not provide an IncludeApp element; it uses the Product element for the Office product and one or more ExcludeApp elements to omit selected applications.
Before editing configuration.xml, confirm your Microsoft 365 product ID and the supported application IDs, such as Access, Excel, Outlook, PowerPoint, and Word, so the exclude list matches your deployment plan.
Install Only Selected Microsoft 365 Apps Using Product and ExcludeApp in Office Deployment Tool
Use this XML configuration method whenever you want to deploy Microsoft 365 without installing every application included in the selected product.
The Office Deployment Tool schema does not offer an IncludeApp element. Instead, the Product element selects the Office product to install, and each ExcludeApp element removes one unwanted application from that product.
Open configuration.xml in a plain-text editor such as Notepad or Visual Studio Code.
Add the <Product ID="Microsoft365AppsRetail"> element, or another Microsoft-supported product ID, to specify the Office product you are deploying.
Place <ExcludeApp ID="Access" /> inside the Product element for each application you want to omit, such as Access, Publisher, or Teams.
Save the file and run setup.exe /configure configuration.xml from an elevated Command Prompt in the Office Deployment Tool folder.

Use WPS Office as a Free Alternative to Office Deployment Tool Configuration
If manually configuring Product and ExcludeApp elements in the Office Deployment Tool feels complex, WPS Office provides a free, lightweight Office alternative with a familiar ribbon interface. It handles Microsoft Word, Excel, and PowerPoint formats and installs directly without editing deployment XML.
- 1. Download WPS Office: Go to the official WPS Office website and click Download WPS Office Free to download the installer.
- 2. Install and launch WPS Office: Run the downloaded installer, follow the setup prompts, and open WPS Office from the Start menu or desktop shortcut.
- 3. Open or create a Microsoft-compatible document: Use WPS Writer, Spreadsheets, or Presentation to create new files or open existing .docx, .xlsx, and .pptx files.

Frequently Asked Questions
Does the Office Deployment Tool have an IncludeApp element?
No. The Office Deployment Tool does not support an IncludeApp element. In the configuration XML, use the Product element to select the Office product, then use one or more ExcludeApp elements to omit applications you do not want.
What ExcludeApp IDs can I use for Microsoft 365?
Use Microsoft-supported application IDs such as Access, Excel, OneNote, Outlook, PowerPoint, Publisher, Teams, and Word, depending on the product ID you selected.
What is a valid Office Deployment Tool configuration example?
A valid configuration uses <Product ID="Microsoft365AppsRetail"> with child entries such as <ExcludeApp ID="Access" /> and <ExcludeApp ID="Publisher" />, then closes the Product element before saving.
How do I run the Office Deployment Tool after changing configuration.xml?
Open an elevated Command Prompt in the folder that contains setup.exe and run setup.exe /configure configuration.xml.
Can WPS Office replace Microsoft 365 for basic Word, Excel, and PowerPoint tasks?
Yes. WPS Office is a free, lightweight office suite that opens and saves Microsoft-compatible .docx, .xlsx, and .pptx files with a familiar ribbon interface.




