Skip to content

Instantly share code, notes, and snippets.

@amanjuman
Created June 4, 2024 05:11
Show Gist options
  • Save amanjuman/043c88339d667781f9435d78a869fe13 to your computer and use it in GitHub Desktop.
Save amanjuman/043c88339d667781f9435d78a869fe13 to your computer and use it in GitHub Desktop.
Office365 Custom
Download Office Deployment Tool (ODT)
https://officecdn.microsoft.com/pr/wsus/setup.exe
Generate Configuration from Here
https://config.office.com/deploymentsettings
Or create a file named "Configuration.xml"
<Configuration ID="715bbef8-1f6a-4e50-b9dd-bd8f2185885d">
<Add OfficeClientEdition="64" Channel="Current">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="Publisher" />
<ExcludeApp ID="Teams" />
<ExcludeApp ID="Bing" />
</Product>
</Add>
<Updates Enabled="TRUE" />
<RemoveMSI />
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>
Run terminal from same folder and enter:
.\setup.exe /configure Configuration.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment