Skip to content

Instantly share code, notes, and snippets.

@brosahay
Last active March 30, 2020 05:20
Show Gist options
  • Save brosahay/dd90535b49b8ef383da85d896c4dd8b1 to your computer and use it in GitHub Desktop.
Save brosahay/dd90535b49b8ef383da85d896c4dd8b1 to your computer and use it in GitHub Desktop.
Office Deployment XML Templates
<!-- Office 2016 client configuration file sample. To be used for Office 2016 ProPlus apps,
Office 2016 Business apps, Project Pro for Office 2016 and Visio Pro for Office 2016.
For detailed information regarding configuration options visit: http://aka.ms/ODT.
To use the configuration file be sure to remove the comments
The following sample allows you to download and install the 64 bit version of the Office 2016 ProPlus apps
and Visio Pro for Office 2016 directly from the Office CDN using the Monthly Channel
settings -->
<Configuration>
<Add OfficeClientEdition="64" Channel="Current" SourcePath="G:\" AllowCdnFallback="TRUE" >
<Product ID="ProPlusRetail" >
<Language ID="MatchOS" />
<Language ID="MatchPreviousMSI" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="InfoPath" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="Publisher" />
<ExcludeApp ID="Project" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="SharePointDesigner" />
<!-- <ExcludeApp ID="Outlook" /> -->
<ExcludeApp ID="Visio" />
</Product>
</Add>
<!-- <Updates Enabled="TRUE" Channel="Monthly" /> -->
<Display Level="Full" AcceptEULA="TRUE" />
<!-- <Property Name="AUTOACTIVATE" Value="1" /> -->
<Logging Level="Standard" Path="%TEMP%" />
</Configuration>
<!-- Office 2019 client configuration file sample. To be used for Office 2019 ProPlus apps,
Office 2019 Business apps, Project Pro for Office 2019 and Visio Pro for Office 2019.
For detailed information regarding configuration options visit: http://aka.ms/ODT.
To use the configuration file be sure to remove the comments
The following sample allows you to download and install the 64 bit version of the Office 2019 ProPlus apps
and Visio Pro for Office 2019 directly from the Office CDN using the Monthly Channel
settings -->
<Configuration>
<Add OfficeClientEdition="64" Channel="Current" SourcePath="G:\" AllowCdnFallback="TRUE">
<Product ID="ProPlus2019Retail" >
<Language ID="MatchOS" />
<Language ID="MatchPreviousMSI" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="Publisher" />
</Product>
</Add>
<AppSettings>
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="60" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="52" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="ODT" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
</AppSettings>
<!-- <Updates Enabled="TRUE" Channel="Monthly" /> -->
<Display Level="Full" AcceptEULA="TRUE" />
<!-- <Property Name="AUTOACTIVATE" Value="1" /> -->
<Logging Level="Standard" Path="%TEMP%" />
</Configuration>
.\setup.exe /configure configuration-Office2016ProPlus.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment