Command to uninstall individual apps? (Office 2016)

Daniil 1 Reputation point
2021-03-11T13:57:15.553+00:00

Hi, How can I uninstall specific Office Apps for example, word or excel via Configuration xml file?

P.S I have read this post
command-to-uninstall-office-2016-and-contentlocation-of-uninstallxml-file

Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,997 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Erin Ding-MSFT 4,456 Reputation points
    2021-03-12T02:17:59.16+00:00

    Hi @Daniil

    Firstly, could you please tell me what version of Office you are using like Office Professional 2016 or Office Professional Plus 2016?
    You could open an Office application and check the version in File>Account>Product Information.
    I would like to know as you could use xml file only uninstall individual apps of Click-to-Run version of Office 2016 like Office Professional 2016.

    You could add ExcludeApp element in your xml file to uninstall specific Office apps.
    ID attribute of specific Office apps you could refer to "ID attribute (part of ExcludeApp element)".
    "List of Product IDs which are supported by the Office Deployment Tool for Click-to-Run" may also be helpful when configuring xml file..

    Steps are as below, you could take a look at.

    1. Download the latest version of ODT.
    2. Configure xml file. Here is a simple test xml file which uninstall Word from Office Professional 2016.
      <Configuration>
      <Add OfficeClientEdition="64" Channel="Monthly">
      <Product ID="ProfessionalRetail">
      <Language ID="en-us" />
      <ExcludeApp ID="Word" />
      </Product>
      <Product ID="VisioProRetail">
      <Language ID="en-us" />
      </Product>
      </Add>
      </Configuration>
    3. Type cmd in the search bar, right click Command Prompt and run it as administrator. Type cd+ the save path of ODT, Enter. In my test environment, the save path of ODT is C:\ODT. Then enter the command setup.exe /configure XXXX.xml, Enter. XXXX.xml is the name of your xml, here is test.xml.
      76898-image.png

    Then you will see the Word uninstalled from Office Professional 2016.

    More information about ODT and configuring Office with ODT, you could refer to "Overview of the Office Deployment Tool" and "Configuration options for the Office Deployment Tool".

    Hope the information is helpful to you.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Daniil 1 Reputation point
    2021-03-12T05:44:19.63+00:00

    Yes, I have Office Professional Plus 2016.
    But can I modify ProPlus?