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: