/build/static/layout/Breadcrumb_cap_w.png

Uninstall Office 2010/2013 Deploy 2016

We are currently running Office 2010 Standard, Office 2013 Standard x64 and x32 and we are getting ready to deploy O365 2016.  I have been researching this all day and I am coming up with dead ends or a million hoops to jump through.  I need a way to silently uninstall those versions and deploy Office 365 2016.  I have the basic deployment built for 2016 and we use that for our K2000 Imaging, however, we want to exclude Skype for Business and OneDrive for Business.

I built that deployment but when I try to manually run the batch script I wrote, I received an error stating unable to install Office Products.  Here is my batch script:

setup.exe /configure "x64configuration.xml"

2016 Configuration:
<?xml version=1.0"?>
<Configuration>
<Add Channel="Current" OfficeClientEdition="64"
<Product ID="O365ProPlusRetail">
<Language ID="en-us"/>
<ExcludeApp ID="Groove" ID="Lync" />
</Product>
</Add>
<Display AcceptEULA="True" Level="None" />
<Logging Level="Standard" Path="%temp%\OfficeDeploy"/>
</Configuration>

I'm looking for an easy way, whether it be through K1000 or GPO, to uninstall Office 2010/2013 and deploy Office 2016.  All silently of course.

Thanks!

0 Comments   [ + ] Show comments

Answers (2)

Posted by: dubritski 6 years ago
White Belt
1
you could run the offscrub for each version of office, this would remove all traces of earlier versions of office

https://blogs.technet.microsoft.com/odsupport/2011/04/08/how-to-obtain-and-use-offscrub-to-automate-the-uninstallation-of-office-products/

and use this to build your XML file 
https://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html

Posted by: dragosCI 6 years ago
Senior White Belt
0
You can try using wmi:

wmic product where (caption like "%Microsoft%Office%2010%") call uninstall /nointeractive
wmic product where (caption like "%Microsoft%Office%2013%") call uninstall /nointeractive

Or you can run the uninstall string cmd for each version:
2010: "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall [ProductName]
2013: "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\Office Setup Controller\setup.exe" /uninstall [ProductName]
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ