Start here:
http://aka.ms/ODT
Process:
-download MSI from above.
-extract files by running the download.
-in the extracted files, use the XML to install office365-enterprise (e3,e5) or Volume-License (office365-business is separate)
-customize xml for the environment.
Customize XML
Customizing the XML can be cumbersome. There are many resources on the web but here are a few to make life easier:
XML-OPTIONS:
https://docs.microsoft.com/en-us/deployoffice/office-deployment-tool-configuration-options
INSTALL-FROM-LOCAL:
https://docs.microsoft.com/en-us/deployoffice/deploy-microsoft-365-apps-local-source
XML-CONFIG:
https://config.office.com/deploymentsettings
REMOVE MSI:
https://docs.microsoft.com/en-us/deployoffice/upgrade-from-msi-version
VISIO/PROJECT/OFFICE ON SAME SYSTEM:
https://docs.microsoft.com/en-us/deployoffice/install-different-office-visio-and-project-versions-on-the-same-computer
GENERIC-VOLUME-KEYS
https://docs.microsoft.com/en-us/deployoffice/use-the-office-deployment-tool-to-install-volume-licensed-editions-of-visio-2016
Download the install files:
The call to setup.exe can be local in the directory or can be from a share/UNC path (ie \\server\share).
If local, the path is not needed:
setup.exe /download myConfiguration-v1.xml
If share, the path is required:
\\server\share\setup.exe /download \\server\share\myConfiguration-v1.xml
(not: \\server\share\setup.exe /download myConfiguration-v1.xml)
Install Office365 | Install Microsoft365:
This is used to install, configure, remove, update O365:
If local, the path is not needed:
setup.exe /configure myConfiguration-v1.xml
If share, the path is required:
\\server\share\setup.exe /configure \\server\share\myConfiguration-v1.xml
(not: \\server\share\setup.exe /configure myConfiguration-v1.xml)
The script for installation will be:
REBOOT
UNINSTALL
REBOOT
INSTALL
REBOOT
PDQ:
https://www.pdq.com/blog/deploying-office-365-the-right-way/
NOTES:
<Configuration ID="4834409d-6c6c-4652-b6a7-2db2aa62ca60">
<Info Description="v1" />
<!--
<Configuration ID="a2b6b9c8-3cab-4ec4-971d-46e7bae1fda3">
-->
<Add OfficeClientEdition="64" Channel="SemiAnnual" SourcePath="\\server\share\Office365" AllowCdnFallback="True" MigrateArch="TRUE">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
<!--Language ID="de-de" />
<Language ID="pt-br" />
<Language ID="es-es" /-->
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Bing" />
<ExcludeApp ID="Teams" />
<ExcludeApp ID="Onedrive" />
<ExcludeApp ID="Lync" />
</Product>
<Product ID="ProofingTools">
<Language ID="en-us" />
<!--Language ID="de-de" />
<Language ID="pt-br" />
<Language ID="es-es" /-->
</Product>
<Product ID="VisioStdXVolume" MSICondition="VisStd,VisStdR" PIDKEY="NY48V-PPYYH-3F4PX-XJRKJ-W4423">
<Language ID="en-us" />
<Language ID="MatchPreviousMSI" />
</Product>
<Product ID="VisioProXVolume" MSICondition="VisPro,VisProR" PIDKEY="69WXN-MBYV6-22PQG-3WGHK-RM6XC">
<Language ID="en-us" />
<Language ID="MatchPreviousMSI" />
</Product>
<Product ID="ProjectStdXVolume" MSICondition="PrjStd,PrjStdR" PIDKEY="D8NRQ-JTYM3-7J2DX-646CT-6836M">
<Language ID="en-us" />
<Language ID="MatchPreviousMSI" />
</Product>
<Product ID="ProjectProXVolume" MSICondition="PrjPro,PrjProR" PIDKEY="WGT24-HCNMF-FQ7XH-6M8K7-DRTW9">
<Language ID="en-us" />
<Language ID="MatchPreviousMSI" />
</Product>
</Add>
<!--
<Add OfficeClientEdition="64" Channel="SemiAnnual" SourcePath="\\server\share\Office365" Version="16.0.13127.21506">
<Product ID="ProjectPROXVolume">
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
</Add>
<Add OfficeClientEdition="64" Channel="PerpetualVL2016" SourcePath="\\server\share\Office365" Version="16.0.12527.21416">
<Product ID="ProjectStdXVolume">
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
</Add>
<Add OfficeClientEdition="64" Channel="PerpetualVL2016" SourcePath="\\server\share\Office365" Version="16.0.12527.21416">
<Product ID="VisioPROXVolume">
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
</Add>
<Add OfficeClientEdition="64" Channel="SemiAnnual" SourcePath="\\server\share\Office365" Version="16.0.13127.21506">
<Product ID="VisioStdXVolume">
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
</Add>
<Add OfficeClientEdition="64" Channel="PerpetualVL2019" SourcePath="\\server\share\Office365">
<Product ID="ProPlus2019Volume">
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
<Product ID="LanguagePack">
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
<Product ID="ProofingTools">
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
</Add>
<Add OfficeClientEdition="64" Channel="SemiAnnualPreview" SourcePath="\\server\share\Office365">
<Product ID="VisioStd2019Volume">
<Language ID="en-us" />
</Product>
</Add>
<Add OfficeClientEdition="64" Channel="SemiAnnual" SourcePath="\\server\share\Office365" Version="16.0.12527.21416">
<Product ID="AccessRuntimeRetail">
<Language ID="de-de" />
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="nl-nl" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
<Product ID="ProofingTools">
<Language ID="en-us" />
<Language ID="de-de" />
<Language ID="nl-nl" />
<Language ID="fr-fr" />
<Language ID="ja-jp" />
<Language ID="ko-kr" />
<Language ID="pt-br" />
<Language ID="es-es" />
</Product>
</Add>
<Add OfficeClientEdition="64" Channel="Monthly">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
</Product>
<Product ID="VisioProRetail">
<Language ID="en-us" />
</Product>
<Product ID="VisioPro2019Volume" PIDKEY="NY48V-PPYYH-3F4PX-XJRKJ-W4423">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
</Product>
<Product ID="ProjectPro2019Volume" PIDKEY="NY48V-PPYYH-3F4PX-XJRKJ-W4423">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
</Product>
</Add>
<Add >
<Product ID="ProjectProRetail" MSICondition="PrjStd,PrjPro,PrjStdR,PrjProR">
<Language ID="en-us" />
<Language ID="MatchPreviousMSI" />
</Product>
</Add>
<RemoveMSI />
<Add >
<Product ID="VisioProRetail" MSICondition="VisStd,VisPro,VisStdR,VisProR">
<Language ID="en-us" />
<Language ID="MatchPreviousMSI" />
</Product>
</Add>
<RemoveMSI />
<RemoveMSI>
<IgnoreProduct ID="InfoPath" />
<IgnoreProduct ID="InfoPathR" />
<IgnoreProduct ID="PrjStd" />
<IgnoreProduct ID="PrjPro" />
<IgnoreProduct ID="PrjStdR" />
<IgnoreProduct ID="PrjProR" />
<IgnoreProduct ID="SharePointDesigner" />
<IgnoreProduct ID="VisStd" />
<IgnoreProduct ID="VisPro" />
<IgnoreProduct ID="VisStdR" />
<IgnoreProduct ID="VisProR" />
</RemoveMSI>
-->
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Updates Enabled="TRUE" UpdatePath="\\server\share\Office365" />
<AppSettings>
<Setup Name="Company" Value="Company Name Here" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
<RemoveMSI />
</Configuration>