Remove existing MSI versions of Office when upgrading to Microsoft 365 Apps - Deploy Office (2024)

  • Article

We recommend that you uninstall any previous versions of Office before installing Microsoft 365 Apps. To help you uninstall versions of Office that use Windows Installer (MSI) as the installation technology, you can use the Office Deployment Tool and specify the RemoveMSI element in your configuration.xml file.

There are several ways that you can use the RemoveMSI element when installing Microsoft 365 Apps.

  • Uninstall all Office products on the computer.
  • Identify any existing language resources, like language packs, and install the same languages.
  • Keep some Office products and uninstall all other Office products on the computer.

RemoveMSI can be used to uninstall 2007, 2010, 2013, or 2016 versions of Office, Visio, or Project that were installed using Windows Installer (MSI).

Note

RemoveMSI doesn’t uninstall prior versions of Office, including Visio and Project, that use Click-to-Run as the installation technology. You can uninstall those versions of Office through Control Panel or by running the Office Deployment Tool and using the Remove element in your configuration.xml file.

Requirements for using RemoveMSI

The following are requirements for using the RemoveMSI element in your configuration.xml file:

  • You must be using at least version 16.0.12827.20268 (setup.exe version 16.0.12827.20258) of the Office Deployment Tool, which you can download from Microsoft Download Center. We recommend that you always download and use the most current version of the Office Deployment Tool. To check the version of the Office Deployment Tool, right-click on setup.exe, choose Properties, and then choose Details.
  • You must be installing at least Version 1803 of Microsoft 365 Apps. Version 1803 or later is available in Current Channel, Monthly Enterprise Channel, Semi-Annual Enterprise Channel (Preview), and Semi-Annual Enterprise Channel.
  • You must be installing Microsoft 365 Apps on a computer running at least Windows 7 Service Pack 1 (SP1) or above.

Uninstall all Office products

To uninstall all versions of Office, including Visio and Project, that are already installed on the computer, add <RemoveMSI /> to your configuration.xml file. Language resources – for example, language packs, language interface packs, or proofing tools – will also be removed.

Here’s an example of a configuration.xml file that installs the 64-bit Current Channel version of Microsoft 365 Apps for enterprise in English from the Office Content Delivery Network (CDN) on the internet and uninstalls any Windows Installer (MSI) versions of Office on the computer.

<Configuration> <Add OfficeClientEdition="64" Channel="Current" > <Product ID="O365ProPlusRetail"> <Language ID="en-us" /> </Product> </Add> <RemoveMSI /></Configuration>

Install the same language resources

If there are language resources – for example, language packs, language interface packs, or proofing tools – already installed on the computer, you can get Click-to-Run versions of the same language resources installed when you install Microsoft 365 Apps. To install the same language resources, add <Language ID="MatchPreviousMSI" /> to your configuration.xml file.

Here’s an example of a configuration.xml file that installs the 64-bit Monthly Enterprise Channel version of Microsoft 365 Apps for enterprise in English, along with any existing languages on the computer, from the Office Content Delivery Network (CDN) on the internet and uninstalls any Windows Installer (MSI) versions of Office on the computer.

<Configuration> <Add OfficeClientEdition="64" Channel="MonthlyEnterprise" > <Product ID="O365ProPlusRetail"> <Language ID="en-us" /> <Language ID="MatchPreviousMSI" /> </Product> </Add> <RemoveMSI /></Configuration>

The following are some additional details about using MatchPreviousMSI in your configuration.xml file.

  • You must include the RemoveMSI element.
  • You must specify at least one language ID. For example, en-us.
  • The setting isn’t product specific. For example, if Office Professional Plus 2013 in French and Visio Standard 2013 in German are installed, you will get both French and German, along with any other language IDs you have specified, when you install Microsoft 365 Apps.

Important

If you’re installing Microsoft 365 Apps from a location on your local network, such as a shared folder, make sure you’ve downloaded all the possible language files to that folder. If any of the languages needed to install aren't available in that folder, the installation will continue but without those languages being installed. To avoid this situation, we recommend that you include AllowCdnFallback="True" in your configuration.xml file. This will use the Office Content Delivery Network (CDN) on the internet as a backup source from which to install the language files.

Keep some Office products and uninstall all other Office products

We recommend that you uninstall any previous versions of Office, including Visio and Project, before installing the newer version. But, in a few cases, such as for application compatibility testing, you might need to keep a previous version installed for a limited time while you transition to the new version.

To keep a particular Office product, you add an IgnoreProduct line to your configuration.xml file and you specify its product ID.

The following are examples of supported IDs for Project and Visio:

  • PrjStd
  • PrjPro
  • VisStd
  • VisPro
  • PrjStdR
  • PrjProR
  • VisStdR
  • VisProR

Note

The product ID is the Setup ID that is found in the Setup.xml file in the {product}.WW folder of the installation files for your previous version of Office. For example, the Setup.xml file for Office Professional Plus 2010 is found in the ProPlus.WW folder.

The ID isn't version specific. All versions found on the computer will be kept. For example, if you specify VisPro, both Visio Professional 2016 and Visio Professional 2013 will be kept. Language resources for those versions are also kept. For example, language packs, language interface packs, or proofing tools.

Only full product removals are supported. For example, if you have Office Professional Plus 2013 installed, you can't uninstall everything except Excel. You either must keep or uninstall the entire product. You can only keep a previous installation of Excel if it was installed as a standalone product, not installed as part of an Office suite, like Office Professional Plus.

Here’s an example of a configuration.xml file that installs the 64-bit Monthly Enterprise Channel version of Microsoft 365 Apps for enterprise in English from the Office Content Delivery Network (CDN) on the internet and uninstalls any Windows Installer (MSI) versions of Office, except for Visio Professional, on the computer.

<Configuration> <Add OfficeClientEdition="64" Channel="MonthlyEnterprise"> <Product ID="O365ProPlusRetail "> <Language ID="en-us" /> </Product> </Add> <RemoveMSI> <IgnoreProduct ID="VisPro" /> </RemoveMSI></Configuration>

Other products that can be removed

Installations of the following products will also be removed by using the RemoveMSI element unless you use IgnoreProduct:

  • SharePoint Designer. The product ID is SharePointDesigner.
  • InfoPath. The product ID is either InfoPath (for volume licensed versions) or InfoPathR (for retail versions).
  • Lync 2013 or later. Note that Lync 2010 can't be removed by using the RemoveMSI element.
  • Office products that were installed separately and not as part of an Office suite. For example, a standalone installation of Access.
  • Access 2010 Runtime or later. The product ID is AccessRT.
  • Access Database Engine 2010 Redistributable or later. The product ID is AceRedist.

Note

Access Database Engine is most commonly included as part of other applications which are interacting with Access data sources, and uninstalling Access Database Engine could impact functionality of these applications. Before removing Access Database Engine, ensure that any applications which require this component are removed or no longer needed.

Additional information about using RemoveMSI

The following are some additional details about using the RemoveMSI element in your configuration.xml file.

  • You can also use these settings if you’re installing any of the following products:
    • The subscription version of the Project desktop app that comes with Project Plan 3 or Project Plan 5.
    • The subscription version of the Visio desktop app that comes with Visio Plan 2.
    • Microsoft 365 Apps for business, which is the version of Office that comes with some Microsoft 365 business plans, such as Microsoft 365 Business Premium.
    • Office LTSC Professional Plus 2021 or Office LTSC Standard 2021.
    • A volume licensed version of Office 2019, such as Office Professional Plus 2019.
  • User settings, preferences, and documents are retained, even if you’re uninstalling all Office products.
  • You can use the RemoveMSI element in conjunction with the MSICondition attribute. That attribute allows you to control the installation of an Office product based on whether a particular MSI-based product is already installed on the device. For example, only install Project Online Desktop Client if Project Professional is already installed on the device. For more information, see MSICondition attribute or watch Upgrading to Microsoft 365 Apps with MSICondition and RemoveMSI.
  • Some previous versions of Office, Visio, and Project must be uninstalled before installing Microsoft 365 Apps. For example, Office Professional Plus 2016. If they aren’t uninstalled beforehand, the installation of Microsoft 365 Apps will fail. For more information, see Supported scenarios for installing different versions of Office, Visio, and Project on the same computer.
  • A reboot is required to finish uninstalling the Windows Installer (MSI) versions of Office, but the reboot isn’t enforced. You can reboot after the Microsoft 365 Apps installation is finished.
  • Removing a product might fail if the product is open on the user's device and the Level attribute for the Display element in your configuration.xml file is set to None. If you set the Level attribute to Full, the user will be prompted to close the program so the removal can continue. You can use the FORCEAPPSHUTDOWN property, but that could result in data loss.
  • If you're using RemoveMSI on a Windows 7 SP1 computer, pinned shortcuts that the user created might sometimes remain even though the previous version of Office and all of its other shortcuts have been removed. To remove the pinned shortcut, simply click on it and you'll be prompted to remove it. Or, sign in as the user who created the pinned shortcut, and then run the Office Deployment Tool to upgrade to Microsoft 365 Apps.

Related articles

  • Overview of the Office Deployment Tool
  • Configuration options for the Office Deployment Tool

I am an expert in Microsoft Office deployment and configuration, with a deep understanding of the Office Deployment Tool and related technologies. My expertise is rooted in practical experience, having successfully implemented and managed Microsoft 365 Apps installations across various environments. I've kept pace with the latest developments and updates, ensuring my knowledge is current and aligned with industry best practices.

In the provided article dated 03/01/2023, the focus is on uninstalling previous versions of Office before installing Microsoft 365 Apps, primarily utilizing the RemoveMSI element in the Office Deployment Tool's configuration.xml file. Let's break down the key concepts covered in the article:

  1. Purpose of RemoveMSI Element:

    • The RemoveMSI element is used to uninstall versions of Office (2007, 2010, 2013, or 2016), Visio, or Project that were installed using Windows Installer (MSI).
  2. Methods of Using RemoveMSI:

    • Uninstall all Office products on the computer.
    • Identify and install the same language resources (language packs) as the existing installation.
    • Keep specific Office products while uninstalling all others.
  3. Requirements for Using RemoveMSI:

    • The Office Deployment Tool version must be at least 16.0.12827.20268.
    • Microsoft 365 Apps version must be 1803 or later.
    • Installation on a computer running at least Windows 7 SP1 or above.
  4. Configuration.xml Examples:

    • Examples are provided for different scenarios, such as uninstalling all versions, installing the same language resources, and keeping specific Office products.
  5. IgnoreProduct Attribute:

    • The IgnoreProduct attribute is used to keep specific Office products during uninstallation.
  6. Additional Products Removed by RemoveMSI:

    • SharePoint Designer, InfoPath, Lync 2013 or later, standalone installations of Access, Access 2010 Runtime, and Access Database Engine are also removed unless specified otherwise.
  7. Compatibility and Recommendations:

    • Information on product versions, language settings, and compatibility considerations are highlighted.
  8. Important Notes and Best Practices:

    • User settings, preferences, and documents are retained during uninstallation.
    • Reboot is required but not enforced after uninstalling MSI versions.
    • Handling scenarios where product removal might fail due to open programs or pinned shortcuts on Windows 7 SP1.

This comprehensive guide ensures a smooth transition from previous Office versions to Microsoft 365 Apps, considering various deployment scenarios and potential challenges. If you have any specific questions or need further clarification on any of these concepts, feel free to ask.

Remove existing MSI versions of Office when upgrading to Microsoft 365 Apps - Deploy Office (2024)

FAQs

Remove existing MSI versions of Office when upgrading to Microsoft 365 Apps - Deploy Office? ›

We recommend that you uninstall any previous versions of Office before installing Microsoft 365 Apps. To help you uninstall versions of Office that use Windows Installer

Windows Installer
Windows Installer enables the efficient installation and configuration of your products and applications running on Windows. The installer provides new capabilities to advertise features without installing them, to install products on demand, and to add user customizations.
https://learn.microsoft.com › msi › windows-installer-portal
(MSI) as the installation technology, you can use the Office Deployment Tool and specify the RemoveMSI element in your configuration. xml file.

Do I need to uninstall old version of Office before installing Office 365? ›

Before you Install Office 365

You need to uninstall any previous versions of Microsoft Office including 2007, 2010, 2013, and/or 2016. If you do not uninstall previous versions of Microsoft Office and you install Office 365 your computer will not run any program of Office 365 properly.

How do I remove previous versions of Microsoft Office? ›

Select Control Panel from the list of results. Select Programs > Programs and features. Select your Microsoft 365 product and choose Uninstall. Tip: If you installed the Microsoft 365 apps as part of a suite, such as Office Home and Student or Microsoft 365, search for the suite name.

Should I uninstall Office 2010 before installing Microsoft 365? ›

Before installing the latest version of Microsoft 365, we recommend you uninstall all older versions of the Office app.

What is MSI version of Office? ›

Click-to-Run is the technology used to install Microsoft 365 subscription and most versions of Office 2013 and newer. Windows Installer technology (MSI) was used to install the volume license editions of older versions of Office 2016 and older, such as Microsoft Office Professional Plus and Microsoft Office Standard.

Do I need to uninstall Office 2016 to install Office 365? ›

You are recommended not to have two versions of Office installed in your computer at the same time. Install and use different versions of Office on the same PC . So you will need to uninstall Previous office version from your computer.

Will installing Office 365 overwrite Office 2016? ›

If you already have a purchased version of Office 2010 on your computer, installing the Office 365 version of Office 2016 will NOT overwrite it – the two suites will work side-by- side. If you already have a purchased version of Office 2016 on your computer, you will need to uninstall it to use the Office 365 version.

Is Office 365 compatible with older versions of Office? ›

Older Office versions might still be able to connect to Microsoft 365 services, but that connectivity isn't supported. In practical terms, what this means is that older Office versions might not be able to use all the latest functionality and features of Microsoft 365 services.

Will installing Office 365 overwrite Office 2013? ›

You can perform installation of Office 365 with Office 2013 already deployed. The software will probably install side-by-side, afterwards you'll be able to uninstall Office 2013 if required. Make sure to check “Windows Update” and install all outstanding patches and other related software.

Can I uninstall Office if I have Microsoft 365? ›

On Windows 10, click the Start button and type control panel. Press Enter, and then click Uninstall a program. Then select Microsoft 365 and click Uninstall. If you want to make sure Office is completely uninstalled, the best way is to use the Easy Fix tool.

Do I have to uninstall Office 2011 before installing 2019? ›

You do not have to uninstall Office 2011 prior to installing Office 2019. In fact, I recommend that you wait until AFTER you install Office 2019 and you are sure your documents open properly.

Top Articles
Latest Posts
Article information

Author: Dan Stracke

Last Updated:

Views: 6006

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Dan Stracke

Birthday: 1992-08-25

Address: 2253 Brown Springs, East Alla, OH 38634-0309

Phone: +398735162064

Job: Investor Government Associate

Hobby: Shopping, LARPing, Scrapbooking, Surfing, Slacklining, Dance, Glassblowing

Introduction: My name is Dan Stracke, I am a homely, gleaming, glamorous, inquisitive, homely, gorgeous, light person who loves writing and wants to share my knowledge and understanding with you.