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.
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.
Run the uninstall program using the -i silent option. Use an absolute path to the options file. Enclose the path in double quotation marks (" ").
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.
Try this, with the original setup.exe version that was used to install
"C:\App\Setup.exe" /x /s /v/qn
You need to create first an ISS response file to silently remove your application,
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With