Last active
May 25, 2023 22:45
-
-
Save BoscoDomingo/4dcfa44618c2da217711488dec85d2c7 to your computer and use it in GitHub Desktop.
To use with the C2R Office Deployment Tool (ODT). Make sure to remove the <Remove*> sections if you don't want to deal with that or are doing a clean install (no previous Office installed)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Download link: https://www.microsoft.com/en-us/download/details.aspx?id=49117 | |
Should this XML fail, use this tool: https://config.office.com/deploymentsettings | |
and check this link: https://docs.microsoft.com/en-gb/deployoffice/ltsc2021/deploy | |
For detailed information regarding configuration options visit: http://aka.ms/ODT. | |
App IDs: https://docs.microsoft.com/en-us/deployoffice/office-deployment-tool-configuration-options#id-attribute-part-of-excludeapp-element | |
Usage: | |
Download (optional, doesn't show progress): .\setup.exe /download .\Office2021-ODT.xml | |
-To see if it is making progress, check the Size vs Size on disk in Properties | |
Install: .\setup.exe /configure .\Office2021-ODT.xml | |
Log files can be found in %temp% (may have a weird name) | |
--> | |
<Configuration ID="9f3def2a-edf3-4230-af5b-de298a114dbf"> | |
<Add OfficeClientEdition="64" MigrateArch="TRUE"> | |
<!-- Channel="PerpetualVL2021" Use only if changing the productID to Volume --> | |
<Product ID="ProPlus2021Retail"> | |
<Language ID="MatchOS" /> | |
<Language ID="en-gb" /> | |
<Language ID="MatchPreviousMSI" /> | |
<ExcludeApp ID="Access" /> | |
<ExcludeApp ID="Lync" /> | |
<ExcludeApp ID="OneDrive" /> | |
<ExcludeApp ID="OneNote" /> | |
<ExcludeApp ID="Outlook" /> | |
<ExcludeApp ID="Publisher" /> | |
<ExcludeApp ID="Teams" /> | |
</Product> | |
<Product ID="LanguagePack"> | |
<Language ID="MatchOS" /> | |
<Language ID="en-gb" /> | |
<Language ID="es-es" /> | |
<Language ID="MatchPreviousMSI" /> | |
</Product> | |
</Add> | |
<Property Name="AUTOACTIVATE" Value="1" /> | |
<Property Name="FORCEAPPSHUTDOWN" Value="FALSE" /> | |
<Property Name="DeviceBasedLicensing" Value="0" /> | |
<Property Name="SCLCacheOverride" Value="0" /> | |
<Property Name="SharedComputerLicensing" Value="0" /> | |
<Updates Enabled="FALSE" /> | |
<RemoveMSI /> | |
<Remove All="TRUE"> | |
<!-- Set to TRUE & remove inside to delete every other Office product installed --> | |
<!-- <Product ID="O365ProPlusRetail" > | |
</Product> --> | |
</Remove> | |
<AppSettings> | |
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" /> | |
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" /> | |
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" /> | |
</AppSettings> | |
<Display Level="Full" AcceptEULA="TRUE" /> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment