Forum Discussion
packaging Office 365 Pro PLus
I would suggest following the Configuration options for the XML here: https://docs.microsoft.com/en-us/deployoffice/configuration-options-for-the-office-2016-deployment-tool
Here is a snippet:
Remove element
Defines which products and languages to remove from a previous installation of Office 365 ProPlus. To remove an installed language, you must provide both the product and the language, as in the example.
For more information, see Overview of the Office Deployment Tool.
Example
<Remove All="FALSE">
<Product ID="O365ProPlusRetail" >
<Language ID="es-es" />
</Product>
</Remove>
All attribute (part of Remove element)
If set to TRUE, all Office 365 ProPlus products and languages will be removed.
Optional. The default value is FALSE.
Allowed values:
- All="FALSE"
- All="TRUE"
If you're only wanting OneDrive.exe then use the stand alone installer: https://go.microsoft.com/fwlink/p/?LinkId=248256
In closing, when building your XML's for Office 365 ProPlus always use https://config.office.com/