I need to create a package to uninstall CTIOS 7 and 7.1(3) silently.
However i am unable to find any switches to uninstall the product silently.

i found this link in this forum which deals with installation of the s/w:
http://itninja.com/question/how-do-you-roll-out-new-machines?6951
However i need to uninstall the product first and then again install it.


Any help will be appreciated.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
What does the 'UninstallString' in the registry's Uninstall entry look like? If it includes "InstallShield" anywhere in it, you can find the requisite switch by using a search engine.
Answered 02/03/2009 by: VBScab
Red Belt

Please log in to comment
0
uninstall string looks like this :
RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\10\01\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{D675A0CF-0371-40A5-955B-0D60147512C1}\setup.exe" -l0x9 -uninst -removeonly[/align] [/align]i created an answer file(.iss) for the uninstallation and then included the ISS file in the command line as shown below[/align]RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\10\01\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{D675A0CF-0371-40A5-955B-0D60147512C1}\setup.exe" -s -f1"<Path to uninstall.iss>" l0x9 -uninst -removeonly[/align] [/align]but still no luck its not going for silent uninstall; it still asks for user inputs.[/align]Plz suggest where was i wrong?[/align]i referred the discussion as in below link[/align]http://itninja.com/question/silent-uninstall-cisco-vpn-by-installshield&mpage=1&key=cisco&#18197[/align] [/align]
Answered 02/03/2009 by: karshi
Purple Belt

Please log in to comment
0
i created an answer file(.iss) for the uninstallation and then included the ISS file in the command line as shown below

RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\10\01\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{D675A0CF-0371-40A5-955B-0D60147512C1}\setup.exe" -s -f1"<Path to uninstall.iss>" l0x9 -uninst -removeonly

but still no luck its not going for silent uninstall; it still asks for user inputs.Plz suggest where was i wrong?
It looks like you have a missing hyphen for the 'l0x9' parameter. Try again with:

RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\10\01\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{D675A0CF-0371-40A5-955B-0D60147512C1}\setup.exe" -l0x9 -s -f1"<Path to uninstall.iss>" -uninst -removeonly

Lastly, for posting, try and keep track of where you add and delete text formatting tags and to separate your text from commands: your last post was almost illegible because of the mix of bold and italics.
Answered 02/03/2009 by: VBScab
Red Belt

Please log in to comment
0
thanks..will take care next time.
And i will come back to you after trying with added hyphens.
Answered 02/03/2009 by: karshi
Purple Belt

Please log in to comment
0
unable to uninstall it silently. it seems that its not taking the ISS file in consideration through the above command line.
was able to uninstall the patch silently through a command as found in release doc
[left]CTIOS7[1].1(1).exe –options "c:\mypath\myresponsefile.opt" -silent[/left]

Any suggestions??
Answered 02/03/2009 by: karshi
Purple Belt

Please log in to comment
0
Some of these just don't uninstall silently. You can try Autoit, or you can repackage the application.
It sounds like the application's already out in your environment, so I'd try Autoit.. which works really well if you're painted in a corner.
Answered 02/03/2009 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
Hey thanks a lot.
tried autoit.. great tool!
while in between i get a self registration error for a DLL and for that autoit doesnot records the input given.
i tried to unregister the file but it fails giving an error.

please suggest how do i get rid of that error.
Answered 02/09/2009 by: karshi
Purple Belt

Please log in to comment
0
You have hit upon one of the joys of using button-pushing utilities like AutoIt: it is next to impossible to build in handling for every situation and, as you know, any programmatic solution to a problem (and I count AutoIt scripts as programs) has to always assume the worst and take nothing for granted.

As for the error itself, I guess it is for un-registering a DLL (hard to know why an uninstall would be trying to register one...) in which case, I'd say it's trying to operate on a file which it's already removed.

In your position, I'd simply work out exactly what is being uninstalled and build an MSI to do that work using the RemoveFiles and RemoveRegistry tables. It has to be easier than trying to get working the lash-up you have now.
Answered 02/09/2009 by: VBScab
Red Belt

Please log in to comment
0
I gave this method first try. it would have made my life simpler.
however just removing files and registries didnot work in this case.
Answered 02/09/2009 by: karshi
Purple Belt

Please log in to comment
0
"Didn't work"? What's not to work?!? The app either got uninstalled or it didn't!

TMM, you clearly didn't remove everything.

As they say on Dragon's Den, "I'm out."
Answered 02/10/2009 by: VBScab
Red Belt

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