Hi i am loooking for a command line to silently uninstall microsoft project professional 2010 via sccm. on a machine also running office 2007. the command "msiexec /x [Productcode} /qn shows the uninstall as succesfull in the execmgr log but it is not uninstalled on the workstation. i am also using an .msp in the install which works perfectly just running "setup.exe" any ideas appreciated thanks

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

What i would do is a search for the MS fixit to remove office products. Its an MSI, when you run it it'll extract a vbs script that you can use to uninstall office products. It works GREAT!!! it'll remove all registry keys, left over files and shortucuts. Give it a try and let me know if you get stuck.

Answered 04/16/2012 by: dchristian
Red Belt

Please log in to comment
0

Here's what I used:

[path]\setup.exe /uninstall PrjPro /config [path]\PrjStd.WW\config.xml

 

To achieve a silent install, you also need to ensure that in the config.xml, DisplayLevel is set to "none", like this:

 

 <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />

 

In the MSP file, I also set the Display Level to "none" under the "Licensing and user interface" section.

I'm now able to run the uninstall silently, both manually and via SCCM.

Answered 04/30/2012 by: RonW
Third Degree Blue Belt

  • That sounds good, but witch path do you use for the config.xml?
  • The config.xml file should be in the PrjPro.WW folder.
  • I asked because my uninstallation only works if I place the config.xml in the installation folder ... C:\Program Files (x86)\Common Files\microsoft shared\OFFICE14\Office Setup Controller and I despair on that at the moment. Edit: via Task Sequence it is working ...
Please log in to comment
0

Uninstall.bat

"%~dp0setup.exe" /uninstall PrjStd /config "%~dp0Uninstall_CONFIG.xml"

and the setting in config file should be like this :

Uninstall_CONFIG.xml

<Configuration Product="PrjPro">   <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />     <Logging Type="standard" Path="C:\Install\Logs" Template="Microsoft Office Project Professional Setup(*).log" /> -->     <Setting Id="SETUP_REBOOT" Value="NEVER" /> </Configuration>

Answered 06/25/2012 by: ontari.ontari
Black Belt

  • it was great.. worked for me
Please log in to comment
0

msiexec /x {insert GUID} /qn

"%~dp0Microsoft_ProjectPro_2010\setup.exe" /uninstall PrjPro /config "PrjPro.WW\uninstall.xml"

 

 
 

Answered 04/17/2012 by: mr_crust
Senior Yellow Belt

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