i am looking for a script that i can use with k1000 to "uninstall office 2010" and "install office 2013".
my systems currently have office 2010 and we are getting ready to upgrade to 2013.
i do have one script to uninstall 2010 and another script to install 2013 but i dont know how to put them together as on task.

can you help!

0 Comments   [ + ] Show Comments


Please log in to comment


I am not sure how others did it but this is how I did it.

I basically followed the steps here to uninstall Office 2010

Then I built an admin install with all the options off of the Office 2013 ISO by following the information I found here

I ran them separately using KACE distribution setting the Office 2010 to uninstall (obviously) using the command line as outlined in the first link

Then I set the Install of Office 2013 to a label I made detecting computers with No Office version installed.   That way Office 2013 would not install if another version of Office was installed.

All in all I think I had a few machines I had to touch by hand to get Office 2010 uninstalled but the vast majority were automated this way.

Sorry I cannot give more details as I am not at my office to look at all my notes but I hope this is at least somewhat helpful.

You can probably combine your scripts into a batch file.  List your separate commands that you have for the uninstall and then for the reinstall and I can combine them for you that can be used in the Software distribution.
Answered 04/13/2015 by: bwilkerson
Third Degree Brown Belt

Please log in to comment
I created a batch file that uninstalls Office 2010 and then installs Office 2013. You need to use the admin install like bwilkerson said. You can set the admin install to remove previous versions of Office but that doesn't remove all of the Office 2010 components. Here is the batch file I used:

if exist "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\" (
copy 2010uninstall.xml "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\2010uninstall.xml"
"C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config 2010uninstall.xml
setup.exe /adminfile FullInstallRemovePrevious.msp
This batch file along with the msp and the 2010uninstall.xml file are included in the zip archive of the Office 2013 install files and then uploaded to KACE. I also have a version of the batch file which isn't silent so I can create separate managed installs for either completely silent or visible installs. 

Answered 04/14/2015 by: chucksteel
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity