May 09 2019 04:09 PM
Can someone please clarify this for me...in regards to using the Office Deployment Tool "Remove" parameter.
If I have the following in my config.xml file:
<Configuration>
<add sourcepath="\\servername\share\filename" officeclientedition="32">
<product id="o365proplusretail">
<language id="en-us" />
<language id="es-es" />
</product>
</add>
<remove all="true">
<product id="o365proplusretail">
<language id="en-us" />
</product>
</remove>
If the "es-es" language is not found, will the "en-us" version still be installed, or will nothing get installed due to the Remove tag/instructions? Thanks for any clarification!
May 10 2019 06:00 AM - edited May 10 2019 06:04 AM
Hi, there are several things mixed up the in the XML. Here is how to fix this:
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-t...
I hope this helps.
May 10 2019 07:14 AM
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!
May 13 2019 12:27 AM - edited May 13 2019 12:28 AM
@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.