Software Deployment Question

What files are needed, exactly, from the Office 2010 CD directory to do the silentuninstall.xml; remote uninstall of Office 2010 Pro?

03/31/2014 4016 views

Hi. My method is based on Microsoft Technet to silently uninstall Microsoft Office:

"\\server\share\...\setup.exe /uninstall ProPlus /config  \\server\share\...\ProPlus.WW\SilentUninstallConfig.xml" 

And it works great. However, that's not what our organization wants...no batch file deployed to run and call on other servers for files. What 'we' want is to deploy all files required, run a command line within to uninstall. (Don't ask me why) 

So, basically, it is set this way:

A "Task" is created where all contents of the "Office 2010 CD" are copied to a temp directory. Then in the command line, execute "setup.exe /uninstall ProPlus /Config \ProPlus.WW\SilentUninstall.xml". Once the Task is complete, all files are removed from temp directory. 

Sure, it works. But that's a lot of files and 800 MB worth of data; process takes too long. My guess is we do not require the entire CD, right? So anyone know exactly what specific files/directories are needed from the Office CD to do what the "...SilentUninstallConfig.xml" calls for? I tried only the ProPlus.WW folder...it failed. 






0 Comments   [ + ] Show comments


All Answers


The setup file used by the Office Uninstall should be stored locally on the system already, under C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe. You should be able to run it using whatever Admin files (MSPs) and Config files (XMLs) you have created for a silent uninstall.

Answered 04/01/2014 by: BHC-Austin
4th Degree Black Belt

  • Thanks for the suggestion. I just tested that method and for some reason it doesn't work. It'll appear as if it completed but in reality, Office 2010 still remains there.

When office is installed it caches the install media from the 'cd' to C:\msocache\All Users\

If you run the setup.exe from the following folder (for Office 2010 ProPlus)

C:\msocache\All Users\{91140000-011D-0000-0000-0000000FF1CE}-C

then give it an argument for any XML (local) that should work OK.
In effect all you will need to copy down is the XML the command will look like this:

"C:\msocache\All Users\{91140000-011D-0000-0000-0000000FF1CE}-C\setup.exe" /uninstall ProPlus /config  "temppath\tomy\OfficeRemove.xml"

Answered 04/02/2014 by: Badger
Red Belt

  • Hi. I finally got around to testing this method today. It doesn't work.
    • any clues on any errors, log files???
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