/build/static/layout/Breadcrumb_cap_w.png

Silent uninstall switch for IS Setup.exe?

I've created a wrapper for a Wireless PC Card Setup.exe, using a .iss file.
My problem is uninstalling the thing silently.

The uninstallstring created looks like this: "RunDll32 C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\engine\\6\\INTEL3~1\\Ctor.dll,LaunchSetup \"C:\\Program Files\\InstallShield Installation Information\\{5E7700B9-8E8D-4A1C-A6D3-36021DC37FA7}\\Setup.exe\" -l0x9 "

My question is, how do I set a flag to eliminate any UI?

0 Comments   [ + ] Show comments

Answers (18)

Posted by: akhlaque 18 years ago
Orange Senior Belt
2
Hi Francois:

There should not be any space in between -f1 and %systemdrive%\setup.iss
Posted by: andler 18 years ago
Orange Belt
0
Hi Anders

Try using -r switsh
"RunDll32 C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\engine\\6\\INTEL3~1\\Ctor.dll,LaunchSetup \"C:\\Program Files\\InstallShield Installation Information\\{5E7700B9-8E8D-4A1C-A6D3-36021DC37FA7}\\Setup.exe\" -r

to create an ISS-file

Or try using AutoIt script to send keystrokes

www.autoitscript.com

br andler
Posted by: Anders_R 18 years ago
Senior Yellow Belt
0
Well, my wrapper uses an answer file, created with an r switch, so that is already taken care of. I need to find a way to UNinstall the thing silently.
Posted by: Francoisracine 18 years ago
Third Degree Blue Belt
0
You need to create a response file to uninstall too by using -r in the uninstal command line. It is not the same iss file.
Posted by: Anders_R 18 years ago
Senior Yellow Belt
0
Hmm, interersting...

How do I define the path to my other response file? I've tried using F1<Path>logfile.log with no success.
Posted by: Anders_R 18 years ago
Senior Yellow Belt
0
Well, nevermind....

I just noticed that the setup creates a unique GUID for every install, so trying to find a single commandline for uninstall seems hopeless. Time to dig into the old "ugly wrapper" style with VB again...
Posted by: Francoisracine 18 years ago
Third Degree Blue Belt
0
I had problem with that part too.
What I always do is copy the file to the %systemdrive% and then run -f1%systemdrive%\setup.iss (I don't remember if I need a space between -f1 and %systemdrive%
Posted by: wiseapp 18 years ago
Second Degree Green Belt
0
Hi:

As akhlaque said it should be without any spaces, for instance:

c:\setup.exe -r -f1c:\setup.iss

That was right Akhlaque, will rate you 2 points
Posted by: akhlaque 18 years ago
Orange Senior Belt
0
Thanks Wiseapp. Nice to get points from such highly rated member.[:)]
Posted by: sanju 14 years ago
Senior Yellow Belt
0
Well , I have also made a response file created for uninstall and included in the wrapper MSI. My application is Contentmanager . But it shows the user interface while uninstalling . Any suggestions on how to uninstall this application from wrapper MSI silently ?

Sanju
Posted by: akhlaque 14 years ago
Orange Senior Belt
0
Hi Sanju,

Just creating the answer file sometimes doesnt help it also requires some additional parameter with the answer file like the one given below

"C:\Program Files\InstallShield Installation Information\{7C9F4B84-D7F3-4BF6-88BF-C793EA56079C}\setup.exe" -s -removeonly -f1”<Path_to_ISS>\uninstall.iss”

You can find the additional parameter(if any) in the uninstall string for your application which can be found in registry at the location: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{product_code_of_your_app} -> UninstallString -> <some value>

______________________________________
Akhlaque
Posted by: sanju 14 years ago
Senior Yellow Belt
0
Hi Akhlaque,

Thanks for the reply . However if i try the commandline as you said :
"C:\Program Files\InstallShield Installation Information\{BFD82B08-BA41-11D0-8F0E-08005A48339D}\setup.exe"-s-removeonly-f1"C:\Content Manager\8.4.1\Windows Client\Uninstall.iss"

I still get a user interface box asking to chose remove to uninstall the application.
I want a commandline that removes /uninstalls the application without this user interface .Can this be done by editing the uninstall.iss file and making some modifications.

Kindly help its very urgent.

Sanju .
Posted by: anonymous_9363 14 years ago
Red Belt
0
If you want an MSI, ditch this ludicrous messing about with wrapping vendor's set-up stubs and do the job properly. Capture the install to an MSI and use that. That will be the end of your silent install/uninstall issues.

Hang on...I seem to remember saying more or less exactly the same thing here http://www.appdeploy.com/messageboards/fb.asp?m=48935
Posted by: sanju 14 years ago
Senior Yellow Belt
0
If capture would have been possible then i would not have asked this question . Since we cant capture we ar using this method and job cant be done more properly.

If you know any commandlines to fix this then please reply else you can stay away

THERE ARE SOMETHINGS THAT CANNOT BE CAPTURED .
HOPE YOU UNDERSTAND THAT !
Posted by: anonymous_9363 14 years ago
Red Belt
0
THERE ARE SOMETHINGS THAT CANNOT BE CAPTURED Amazing that I haven't yet encountered one in over 10 years of doing this nonsense. Still, I expect you're right.
Posted by: akhlaque 14 years ago
Orange Senior Belt
0
What commandline do u see in the uninstallstring of ur application.
I dint ask to use the commandline which i gave... it was just an example. You can replace my cmdline with the one in the uninstallstring.
Posted by: sanju 14 years ago
Senior Yellow Belt
0
Means ?

I used the uninstall string of my application only .
Can you be more specific
Posted by: DanStutzman 14 years ago
Yellow Belt
0
I have run into the same issue with Hyperion Enterprise 6.3 and unfortunately I have yet to find anything that will set it to silent or minimal UI.

I ended up creating an AutoIt script to automate the process.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ