question

Daniil-1829 avatar image
0 Votes"
Daniil-1829 asked ·

Command to uninstall individual apps? (Office 2016)

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-deployment
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

erinding-msft avatar image
0 Votes"
erinding-msft answered ·

Hi @Daniil-1829

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.


image.png (93.1 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Daniil-1829 avatar image
0 Votes"
Daniil-1829 answered ·

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

· 4 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Daniil-1829
As Office Professional Plus 2016 use MSI as its installation technology, you could not use xml file to uninstall individual apps from it.
More information about Office installation technology you could refer to "Installation technologies used by Office".

You could try the following method to uninstall an Office app from Office Professional Plus 2016.
Open Control Panel>Uninstall a program, right click Office Professional Plus 2016, click Change, select Add or Remove Features, click Continue.
In the drop down list of the Office app you would like to uninstall, here I take Word as an example, select Not Available, click Continue.
77083-image.png
76928-image.png

0 Votes 0 ·
image.png (33.5 KiB)
image.png (12.6 KiB)

okay that is very bad news.

0 Votes 0 ·

@Daniil-1829
Thanks for your reply.
I find a thread "Add/Remove Features in Office 2010 with /modify" currently, this may be helpful to you.
I will do more research and test on this, if I have any updates or revision of my previous reply, I will post back.
Thanks for your understanding.

1 Vote 1 ·
Show more comments