View Full Version : Silent uninstallation?
duncanbayne
09-26-2007, 07:59 AM
Hi,
I am trying to silently uninstall a product that has been installed using the Setup Factory 7.0 runtime. In registry I have found the uninstall string:
"C:\Windows\BPM\uninstall.exe" "/U:C:\Program Files\BPM\irunin.xml"
If I invoke that command line I am presented with the uninstallation UI. However I'd like to cause a silent uninstall. Is there any way to do this?
Thanks in advance for any suggestions.
Yours,
Duncan Bayne
Lorne
09-26-2007, 09:38 AM
You can try to run it in silent mode by using the /S command line option, like so:
"C:\Windows\BPM\uninstall.exe" "/U:C:\Program Files\BPM\irunin.xml" /S
If the /S option doesn't work, it means that the author disabled the "Allow silent uninstall" option when they built that setup.
duncanbayne
09-27-2007, 04:57 AM
If the /S option doesn't work, it means that the author disabled the "Allow silent uninstall" option when they built that setup.
Thanks for the tip - and it looks like they did; /S makes no difference. I wonder why Setup Factory would even provide that option to people - under what circumstance would the option of silent uninstallation be a negative?
Anyhow, it looks like the solution to this is to uninstall the thing programatically by writing a managed EXE that I'll invoke as a CA in my MSI.
I don't suppose that Indigo Rose produce anything akin to MSIZap do they? Some kind of command-line tool for ripping out unwanted installations?
jlsf2
10-26-2007, 11:05 AM
Two things:
1. I built a project with the silent uninstall enabled (but not default). When I try to uninstall from a .bat file with /S at the end, I still get the dialog.
2. I have several apps out there that were created without the Silent Uninstall enabled (didn't think I'd need it). Now though, I'd like to programatically call the uninstallers, but I don't want an interface. Anyway for me to enable this after the fact?
Thanks.
jlsf2,
1) Not sure why yours does not work. I would need to see that line of text from your bat file to comment on this further.
2) There is no default way to enable silent uninstall after it has been built if you selected to not allow silent uninstall.
Adam Kapilik
jlsf2
10-30-2007, 01:02 PM
Ok, I'm going to just manually uninstall. THanks.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.