Skip to content

Instantly share code, notes, and snippets.

@umkasanki
Created July 27, 2019 06:51
Show Gist options
  • Save umkasanki/3b7f53edf924ca26df81023bb395107d to your computer and use it in GitHub Desktop.
Save umkasanki/3b7f53edf924ca26df81023bb395107d to your computer and use it in GitHub Desktop.
Office 365 configuration to only install Word, Excel
1. Download MS Office Deployment Tool:
https://www.microsoft.com/en-us/download/details.aspx?id=49117
2. Extract it to desktop
3. Rename one of the config files to 'configuration.xml'
and replace its content with:
```
<Configuration>
<Add SourcePath="C:\Users\oleg\Desktop" OfficeClientEdition="64" Branch="Current">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="InfoPath" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="Publisher" />
<ExcludeApp ID="Project" />
<ExcludeApp ID="SharePointDesigner" />
<ExcludeApp ID="Outlook" />
<ExcludeApp ID="Visio" />
<ExcludeApp ID="PowerPoint" />
<ExcludeApp ID="OneNote" />
</Product>
</Add>
</Configuration>
```
4. run command in cmd or powershell
```
C:\Users\userName\Desktop> .\setup.exe /configure configuration.xml
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment