/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Answer this question or Comment on this question for clarity

Answers

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

Answered 04/03/2018 by: dubritski
White Belt

Please log in to comment
1
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]
Answered 03/14/2018 by: dragosCI
Senior White Belt

Please log in to comment