Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installshield Silent Uninstall not working at Command Line

We have an older app from 2006 we'd like to uninstall at the command line using group policy, but I can't get a silent uninstall to work.

This works. Of course I need to click Next to uninstall:

 "C:\App\Setup.exe" /uninst

But this does not. I see an hourglass for a couple seconds but the app is not uninstalled.

 "C:\App\Setup.exe" /uninst /s

I also unsuccessfully tried some VBScripts. They find the app listed but the uninstall fails. I'm not too familiar with how this process is supposed to work.

like image 519
Dave Avatar asked Jul 10 '12 20:07

Dave


People also ask

What is silent uninstall CMD?

Uninstalling in silent mode allows you to uninstall without user inputs by pointing to a response file . For unistallation, you need to create a response (. silent) file with the needed uninstallation parameters.

How do I get rid of silent EXE?

Run the uninstall program using the -i silent option. Use an absolute path to the options file. Enclose the path in double quotation marks (" ").

What is silent uninstall?

The silent uninstallation processes the choices in the response file and returns the command prompt when complete. No on-screen messages display during the execution of the silent uninstallation.


2 Answers

Try this, with the original setup.exe version that was used to install

"C:\App\Setup.exe" /x /s /v/qn
like image 158
scrat789 Avatar answered Sep 28 '22 16:09

scrat789


You need to create first an ISS response file to silently remove your application,

  1. Create response file : C:\App\Setup.exe /r /f1c:\app\uninstall1.iss you will be asked to uninstall, .... and perhaps reply the others windows. Then your application would be uninstalled and you get a new response file c:\app\uninstall1.iss

  2. Next, if you want to remove silently this application on another computer : launch : C:\App\Setup.exe" /s /f1c:\app\uninstall1.iss

For more information see:

http://www.itninja.com/blog/view/installshield-setup-silent-installation-switches

Best Regards, Stéphane

like image 37
stephane Avatar answered Sep 28 '22 16:09

stephane