/build/static/layout/Breadcrumb_cap_w.png
11/07/2016 16442 views

I have a number of computers that have Office 365 installed, as well as either Project or Visio 365.

I want to silently uninstall Project or Visio but leave Office 365 intact. Wanted to add the uninstall string to SCCM to automate the uninstall process, but I'm struggling to find the string that works, or the form of the XML configuration file that works.

I thought this would work much like Office 2013, with a silent uninstall command of:

setup.exe /configure uninstallProjectPro.xml

The XML file looks like this:

<Configuration>
<Display Level="full" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Remove>
<Product ID="prjpro" />
</Remove>
</Configuration>

That works, but of course waits for a prompt since Display Level is set to "full". If I change it to "none", setup.exe still runs, but eventually stops, and Project isn't uninstalled.

I also tried changing Product ID to "ProjectProRetail" due to something I read online, but that doesn't work, either.

Also tried the following command line from the HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall hive of the registry:

"C:\Program Files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe" scenario=install scenariosubtype=uninstall baseurl="C:\Program Files\Microsoft Office 15" platform=x86 version=15.0.4867.1003 culture=en-us productstoremove=ProjectProRetail_en-us_x-none 

That, too, waits for a prompt before running the uninstall. So I'm out of ideas for how to get this to uninstall silently.


Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

4
You could try 

"C:\Program Files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe" scenario=install scenariosubtype=uninstall baseurl="C:\Program Files\Microsoft Office 15" platform=x86 version=15.0.4867.1003 culture=en-us productstoremove=ProjectProRetail_en-us_x-none DisplayLevel=False

Spartacus
Answered 11/08/2016 by: spartacus
Black Belt

  • This should work just fine. I had tried this in the past and works as expected.
  • This worked, Spartacus. Thanks!
  • You can get the uninstall command line from the registry for any ClickToRun or Deployment Tool office install (I'm experimenting with installing single components). If you add the DisplayLevel=False to the end it becomes silent. Why doesn't MS document these things somewhere. At least allow /? to work or something.
  • Thanks for the help. Yeah, I agree it would be nice if MSFT documented this stuff for us. :/