Quantcast
Channel: Software Chat Latest Topics
Viewing all articles
Browse latest Browse all 3659

CUSTOMIZED UN-INSTALLATION OF OFFICE APPS USING OFFICE DEPLOYMENT TOOL (ODT)

$
0
0

 

                                                                                           CUSTOMIZED UN-INSTALLATION OF OFFICE APPS USING OFFICE DEPLOYMENT TOOL (ODT)

 

 

                                                                                                         kix0vbfeoctbia1llsb1.thumb.jpg.131a876832981f98ad381e141a732307.jpg

 

 

 

                                                                                                                                Overview of the Office Deployment Tool

 

The Office Deployment Tool (ODT) is a command-line tool that you can use to download and deploy Office 365 ProPlus, Office Retail and Volume editions. The ODT gives you more control over an Office installation: you can define which products and languages are installed, how those products should be updated, and whether or not to display the install experience .

 

Office products installs a bundle of apps , WORD ,EXCEL, ACCESS ,PUBLISHER ,OUTLOOK, POWERPOINT ,SKYPE FOR BUSINESS, ONEDRIVE FOR BUSINESS and ONENOTE .

 

At times not all the apps are required and the user wants to install only a few selected apps .

 

This post is dedicated to guide you through, as to how to  un-install selected Office Apps from already installed Office product using ODT.

 

 

A.  Product ID'S :

 

These product ID'S are required in the config file to deploy the desired version of Office.

 

The following are Volume licensed versions of Office 2019 product ID'S :

 

ProPlus2019Volume 

Standard2019Volume 

ProjectPro2019Volume 

ProjectStd2019Volume 

VisioPro2019Volume 

VisioStd2019Volume

 

The following are Office 365 product ID'S :

 

O365ProPlusRetail

O365BusinessRetail

VisioProRetail

ProjectProRetail

 

The following are Office Retail 2019 ID'S :

     

Proplus2019Retail

ProjectPro2019Retail

VisioPro2019Rrtail

 

 

B. Apps ID'S Attribute :

 

  •  ID="Access"
  •  ID="Excel"
  •  ID="Groove"
  •  ID="Lync"
  •  ID="OneDrive"
  •  ID="OneNote"
  •  ID="Outlook"
  •  ID="PowerPoint"
  •  ID="Publisher"
  • ID="Word"

For OneDrive for Business, use Groove. For Skype for Business, use Lync.

 

These App ID'S are required in ExcludeApp Element 

 

If you've already installed Office , you can use the ExcludeApp element to remove a product or App  that you've previously installed. 

 

 

C. Sample config file used to install all the Apps:

 

<Configuration>
    <Add OfficeClientEdition="32" Channel="Monthly" ForceUpgrade="TRUE">
        <Product ID="ProPlus2019Retail">
            <Language ID="en-us"/>
         </Product>          
    </Add>
    <Display Level="Full" AcceptEULA="TRUE"/>
    <Updates Enabled="TRUE" Channel="Monthly"/>
    <Property Name="FORCEAPPSHUTDOWN" Value="TRUE"/>
    <Property Name="SharedComputerLicensing" Value="0"/>
    <Property Name="PinIconsToTaskbar" Value="FALSE"/>
</Configuration>

 

 

D. Sample config file with ExcludeApp Element :

 

<Configuration>
    <Add OfficeClientEdition="32" Channel="Monthly" ForceUpgrade="TRUE">
        <Product ID="ProPlus2019Retail">
            <Language ID="en-us"/>
            <ExcludeApp ID="OneNote"/>
            <ExcludeApp ID="Lync"/>
            <ExcludeApp ID="Groove"/>
            <ExcludeApp ID="Access"/>
            <ExcludeApp ID="Publisher"/>
            <ExcludeApp ID="OneDrive"/>
        </Product>          
    </Add>
    <Display Level="Full" AcceptEULA="TRUE"/>
    <Updates Enabled="TRUE" Channel="Monthly"/>
    <Property Name="FORCEAPPSHUTDOWN" Value="TRUE"/>
    <Property Name="SharedComputerLicensing" Value="0"/>
    <Property Name="PinIconsToTaskbar" Value="FALSE"/>
</Configuration>

If you have previous installation of Office product , and you run the setup.exe file with the above configuration file, it will remove Onenote , Skype for business , Onedrive for business , Access and Publisher.

 

You could remove any of the ExcludeApp  ID from the above config file to retain that App.

 

 

NOTE: COPY AND PASTE THE ABOVE MENTIONED CONFIG FILES TO A NOTEPAD AND SAVE IT AS config.xml

 

 

 

STEPS INVOLVED :

 

1.  Download the Office Deployment Tool:

 

Microsoft Download Center

 

After downloading the file, run the self-extracting executable file, it and it'll ask you to select a folder to extract the files , create a folder by the name of " office 2019 " on your Desktop and Select it and it'll extract following files in that folder:

configuration.xml

setup.exe

 

YOU HAVE TO DELETE THE SAMPLE configuration.xml FILE AND COPY THE CUSTOMIZED CONFIG FILE CREATED BY YOU AS PER YOUR REQUIREMENT.

 

 

2.  Edit Configuration.XML File   

 

As per your requirements , you could include ExcludeApp Element in the config file to un-install the required App from your installed Office product.

 

 

3. Download Office Setup Files:

 

a. open command prompt < run as an administrator 

 

b. copy and paste the following command :

 

i. cd \Users\YOUR USERNAME\Desktop\office 2019

 

ii. setup.exe /download config.xml

 

It will look as if nothing is happening, but the download is happening in the background. Once the download is complete,the Command Prompt window will return to current directory.  You should see a folder named “Office” with a subfolder named “Data” on your Desktop.

 

 

4. Un-installation of specific Apps from installed version of Office:

 

Once you have downloaded the Office 2019 installation files to your Desktop, you can un-install specific Apps from your installed Office 2019.

 

a.  setup /configure config.xml

 

This will start the installation of office .Once the installation is complete, you are returned to a command prompt and you can go open Office 2019 programs .

 

You can now delete the folder "office" where the installation files were downloaded.

 

 

 

NOTES :

 

  • This is applicable to Office 2013 , 2016 & 2019 , Retail , Volume & O365 versions . For the said purpose, Product ID'S are mentioned above - Point A

 

  • If office is already installed on your machine , there is no need to uninstall the same. Just follow the steps as mentioned above , and you will be able to un-install the Apps not required .For the said purpose ExcludeApp Element ID'S are mentioned above.
 
  • In future, if you desire to re-install any of the un-installed App , just remove the ExcluseApp Element from the config file , then follow the steps from 2-4 .

 

Edit: Kindly refer to your office installation, 32/64 bit and accordingly make necessary changes in the config file.

 
 

 

 

 

 

 

    

 

 

 


Viewing all articles
Browse latest Browse all 3659

Trending Articles