Forum Discussion
Office Deployment tool for Office 365 ProPlus
Hi, there are several things mixed up the in the XML. Here is how to fix this:
- If you want to remove a product, you should get rid of the whole <add>-section.
- Your <Remove>-statement contains All=True. So this will remove all products and all languages, regardless of what is already installed on the device.
- If you specify a Language Pack which is not installed at the moment, setup will basically do nothing. Installed products and other Language Pack will remain unchanged.
So for just uninstalling the es-es Language Pack, the XML would look like the following:
<Configuration>
<Remove All="FALSE">
<Product ID="O365ProPlusRetail" >
<Language ID="es-es" />
</Product>
</Remove>
</Configuration>
Here is the full documentation: https://docs.microsoft.com/en-us/deployoffice/configuration-options-for-the-office-2016-deployment-tool#remove-element
I hope this helps.
Martin, thanks for your reply. I'm a bit confused as I had posted this on another forum and was told "if this is a first time install (the products have never been installed before), using my original code the product would still install using the "en-us" language. If the product had already been installed, the "en-us" install would be removed and nothing would remain. Is this not the case??
I'm not necessarily trying to "remove" anything...I'm curious to know, with the original code, if one language specified in the "add" section wasn't found, would the other language still be installed even though it's included in the "remove" section (on a first time install only).
Thanks for your help!
- manoth_msftMay 13, 2019
Microsoft
PMorgan_1116 Hmm, I'm still confused which actual scenario we're trying to solve here. Why would I have an add and remove section in the same XML? Btw, if a language mentioned in the add-section can not be found, the setup will fail. It will not skip the language.