Enable-OSDCloudODT
August 10, 2021
Last updated
August 10, 2021
Last updated
This functionality will be removed in the next few weeks. Let me know if you are using this so I can detail a workaround
I would consider this Experimental and I am unsure of the future of this function. It will more than likely change, so consider this a Sandbox for now
This is a new function to add Office M365 and install it in the Specialize phase of Windows Setup. I had high hopes for this process, but in my testing, there was less than 1 minute difference in installing Office in Specialize versus pulling from an Intune (Office CDN). I'm sure one of you will look into this further, so this is for now an OSDCloud Opt-In
This process should be done before Edit-OSDCloud.winpe
, although it really doesn't matter, but remember after adding this, you need to update your WinPE to see the magic
There is really nothing to it. As you can see in the Verbose output, it will download the latest Microsoft ODT and expand it into subdirectories
This is probably the most important process to understand, and the step that will probably be messed up the most on your end if you really don't understand. For you visual people, hopefully this will help you understand, but the key is that the ODT directory sits in the ROOT of your OSDCloud Workspace
In the ODT directory are two subdirectories that represent the M365 / Office Product. You can see all the Products that can be used, but its important that your directory represent the Product for better organization. If you have no plans to work with ProPlus2019Volume, delete it
The next subdirectory represents the M365 / Office Channel
Delete the Channel directories that you don't need!
It really doesn't matter what you name them, as long as the Channels are separated. In each Channel directory there should be a copy of setup.exe which was expanded when you ran Enable-OSDCloudODT
. You can always repeat that function to add the latest ODT setup.exe as needed, understanding that the XML files will be overwritten
In each of the Channel directories, in addition to the setup.exe, is an Office Configuration File. Don't edit these as they can be overwritten. Create your own using this as an example. The biggest thing is for the Language ID to be set to "MatchOS", but whatever
This isn't entirely working as planned due to the inclusion of the XML files in WinPE. This should be considered as Concept Under Development for the time being
If you are deploying OSDCloud from a USB, you can download the content in advance. Assuming you have copied the ODT directory to <USBDrive>:\OSDCloud\ODT then do the following
Type cmd in the Windows Explorer Address Bar and press Enter
Now use setup.exe to /download the content specified by the Office Configuration XML. This will download your Office payload from the CDN
When you run this command, the necessary files will be added to WinPE
How it works has been added to the Walkthrough
Deploy