Home

Office Deployment tool for Office 365 ProPlus

%3CLINGO-SUB%20id%3D%22lingo-sub-556073%22%20slang%3D%22en-US%22%3EOffice%20Deployment%20tool%20for%20Office%20365%20ProPlus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-556073%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20someone%20please%20clarify%20this%20for%20me...in%20regards%20to%20using%20the%20Office%20Deployment%20Tool%20%22Remove%22%20parameter.%3C%2FP%3E%3CP%3EIf%20I%20have%20the%20following%20in%20my%20config.xml%20file%3A%3C%2FP%3E%3CP%3E%3CCONFIGURATION%3E%3C%2FCONFIGURATION%3E%3C%2FP%3E%3CP%3E%3CADD%20sourcepath%3D%22%26quot%3B%5C%5Cservername%5Cshare%5Cfilename%26quot%3B%22%20officeclientedition%3D%22%26quot%3B32%26quot%3B%22%3E%3C%2FADD%3E%3C%2FP%3E%3CP%3E%3CPRODUCT%20id%3D%22%26quot%3Bo365proplusretail%26quot%3B%22%3E%3C%2FPRODUCT%3E%3C%2FP%3E%3CP%3E%3CLANGUAGE%20id%3D%22%26quot%3Ben-us%26quot%3B%22%3E%3C%2FLANGUAGE%3E%3C%2FP%3E%3CP%3E%3CLANGUAGE%20id%3D%22%26quot%3Bes-es%26quot%3B%22%3E%3C%2FLANGUAGE%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CREMOVE%20all%3D%22%26quot%3Btrue%26quot%3B%22%3E%3C%2FREMOVE%3E%3C%2FP%3E%3CP%3E%3CPRODUCT%20id%3D%22%26quot%3Bo365proplusretail%26quot%3B%22%3E%3C%2FPRODUCT%3E%3C%2FP%3E%3CP%3E%3CLANGUAGE%20id%3D%22%26quot%3Ben-us%26quot%3B%22%3E%3C%2FLANGUAGE%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20%22es-es%22%20language%20is%20not%20found%2C%20will%20the%20%22en-us%22%20version%20still%20be%20installed%2C%20or%20will%20nothing%20get%20installed%20due%20to%20the%20Remove%20tag%2Finstructions%3F%20Thanks%20for%20any%20clarification!%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EHere%20is%20the%20full%20documentation%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%23remove-element%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%23remove-element%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EI%20hope%20this%20helps.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EHere%20is%20the%20full%20documentation%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%23remove-element%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%23remove-element%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EI%20hope%20this%20helps.%3C%2FFONT%3E%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-558199%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20Deployment%20tool%20for%20Office%20365%20ProPlus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-558199%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20there%20are%20several%20things%20mixed%20up%20the%20in%20the%20XML.%20Here%20is%20how%20to%20fix%20this%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIf%20you%20want%20to%20remove%20a%20product%2C%20you%20should%20get%20rid%20of%20the%20whole%20%3CADD%3E-section.%3C%2FADD%3E%3C%2FLI%3E%0A%3CLI%3EYour%20%3CREMOVE%3E-statement%20contains%20All%3DTrue.%20So%20this%20will%20remove%20all%20products%20and%20all%20languages%2C%20regardless%20of%20what%20is%20already%20installed%20on%20the%20device.%3C%2FREMOVE%3E%3C%2FLI%3E%0A%3CLI%3EIf%20you%20specify%20a%20Language%20Pack%20which%20is%20not%20installed%20at%20the%20moment%2C%20setup%20will%20basically%20do%20nothing.%20Installed%20products%20and%20other%20Language%20Pack%20will%20remain%20unchanged.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ESo%20for%20just%20uninstalling%20the%20es-es%20Language%20Pack%2C%20the%20XML%20would%20look%20like%20the%20following%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CCONFIGURATION%3E%3C%2FCONFIGURATION%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3CREMOVE%20all%3D%22%26quot%3BFALSE%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%3CPRODUCT%20id%3D%22%26quot%3BO365ProPlusRetail%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CLANGUAGE%20id%3D%22%26quot%3Bes-es%26quot%3B%22%3E%3C%2FLANGUAGE%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%3C%2FPRODUCT%3E%3CBR%20%2F%3E%26nbsp%3B%3C%2FREMOVE%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EHere%20is%20the%20full%20documentation%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%23remove-element%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%23remove-element%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EI%20hope%20this%20helps.%3C%2FFONT%3E%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-558619%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20Deployment%20tool%20for%20Office%20365%20ProPlus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-558619%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F6347%22%20target%3D%22_blank%22%3E%40Martin%20Nothnagel%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMartin%2C%20thanks%20for%20your%20reply.%26nbsp%3B%20I'm%20a%20bit%20confused%20as%20I%20had%20posted%20this%20on%20another%20forum%20and%20was%20told%20%22if%20this%20is%20a%20first%20time%20install%20(the%20products%20have%20never%20been%20installed%20before)%2C%20using%20my%20original%20code%20the%20product%20would%20still%20install%20using%20the%20%22en-us%22%20language.%26nbsp%3B%20If%20the%20product%20had%20already%20been%20installed%2C%20the%20%22en-us%22%20install%20would%20be%20removed%20and%20nothing%20would%20remain.%26nbsp%3B%20Is%20this%20not%20the%20case%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20necessarily%20trying%20to%20%22remove%22%20anything...I'm%20curious%20to%20know%2C%20with%20the%20original%20code%2C%20if%20one%20language%20specified%20in%20the%20%22add%22%20section%20wasn't%20found%2C%20would%20the%20other%20language%20still%20be%20installed%20even%20though%20it's%20included%20in%20the%20%22remove%22%20section%20(on%20a%20first%20time%20install%20only).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20help!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-562524%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20Deployment%20tool%20for%20Office%20365%20ProPlus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-562524%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F308557%22%20target%3D%22_blank%22%3E%40PMorgan_1116%3C%2FA%3E%26nbsp%3BHmm%2C%20I'm%20still%20confused%20which%20actual%20scenario%20we're%20trying%20to%20solve%20here.%20Why%20would%20I%20have%20an%20add%20and%20remove%20section%20in%20the%20same%20XML%3F%20Btw%2C%20if%20a%20language%20mentioned%20in%20the%20add-section%20can%20not%20be%20found%2C%20the%20setup%20will%20fail.%20It%20will%20not%20skip%20the%20language.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
PMorgan_1116
Occasional Contributor

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!

3 Replies

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-t...

 

I hope this helps.

@Martin Nothnagel 

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! 

@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.

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
203 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies