Visio & Project 2010 Uninstall Silenty Issues
Hi All
tried to uninstall office using the command setup.exe /uninstall {productid}
tried using a config.xml file
can anyone advise a way to remove these successfully using sccm
everything i have found doesnt work
id like to use the first option but keep getting the corrupt installation media whenever i launch it
i can however uninstall from add or remove programs fine?
Answers (2)
I tried adding the uninstall options directly in SCCM but it just didn't work. So I ended up creating a small .bat script and ran both the installer and uninstaller pointing to a script. My uninstall script looks like this:
"%~dp0setup.exe" /uninstall VisPro /config "%~dp0SilentUninstallVisio2007.xml"
VisPro is for Visio 2007 and Visio would be for the 2010 version.
My .xml file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration Product="VisPro">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="NEVER" />
</Configuration>
Again the .xml file contains "VisPro" and will only work for the 2007 version. Just change that to "Visio" to make it work with 2010. Visio 2007 does not require a reboot, but 2010 needs a reboot to be completely removed. 2010 will also forcereboot if <Setting Id="SETUP_REBOOT" Value="NEVER" /> is not included. Hope this help!
So close Keane!
Try this, you will need the access to the source media. Most likely you have a SCCM Package already for Office so just add this as a Program, and add the .xml below to the source - dont forget to update the DP with a new source version.
Use command
setup.exe /uninstall ProPlus /config UninstallProPlus.xml
In shove this in the UninstallProPlus.xml. You might need to add no reboot in as well as I just tested it and it rebooted :/ You can google that though, dont want to make it too easy (;
<Configuration Product=”ProPlus”>
<Display Level=”none” CompletionNotice=”no” SuppressModal=”yes” AcceptEula=”yes” />
</Configuration>
This is for proplus, but hunt around in your source media if you have a diff Office type.
*oops the above is for office! Should be the same though, use these bits below and the correct source media.
<Configuration Product="PrjPro">
<Configuration Product="Visio">
Comments:
-
tried that to no avail earlier today
just doesnt uninstall it all.
thanks though - keane2012 11 years ago -
You sure? I just nuke my office install, lol.
So if your uninstalling Project Pro it would be
setup.exe /uninstall project /config <whatevername>.xml
with the below xml.
<Configuration Product=â€PrjProâ€>
<Display Level=â€none†CompletionNotice=â€no†SuppressModal=â€yes†AcceptEula=â€yes†/> </Configuration>
Make sure you do this on a clean system as well, dont reuse a target that you have already battered, I had a problem with a uninstall today as it was corrupted from previous office uninstall testing. - rileyz 11 years ago -
>Make sure you do this on a clean system....
Who, in the right mind, isn't using virtual machines for this stuff? - anonymous_9363 11 years ago-
I used to use real machines in my last job, they wouldnt let me have a Virtual Machine, it sucked so much. But now I do have one, I just get lazy sometimes and rerun install/uninstall strings without snapping back :P - rileyz 11 years ago
-
I agree with this 100%. VMs make testing so much easier. - jknox 11 years ago
-
this is very true, i do indeed use virtual machines
the issue is unreolved
what has been asked given to me doesnt work for visio or project sadly
thanks anyway - keane2012 11 years ago