1.Download the O365 Deployment tool
https://www.microsoft.com/en-us/download/details.aspx?id=49117

2.Extract the files with the installer & delete the xmls
Create a shared folder on the server with Domain users READ on share and on NTFS !


3.head to https://config.office.com/ to create a new configuration file

4. Customize the deployment desired
Note you will need to specify your server share and also remember to save the configuration file on the same location of the share


Click on export


5.Creating the batch downloader
- Open Notepad
- Input %FileShare%\setup.exe /download %FileShare%%XMLFile%.xml
- File > Save As > Update Local Office Source.bat
- Change “Save As Type” to “All Files (.)”
- Save it in the same folder as your Setup.exe
6.Creating the installer
- Right click on the batch file you just made and choose “edit”
- Replace “/download” with “/configure”
- File > Save As > Install O365.bat
- Change “Save As Type” to “All Files (.)”
- Save it in the same folder as your Setup.exe
7.Run batch 1 first. Then test the 2nd on a laptop or test machine