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

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
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
Answered 10/08/2005 by: andler
Orange Belt

Please log in to comment
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.
Answered 10/09/2005 by: Anders_R
Senior Yellow Belt

Please log in to comment
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.
Answered 10/09/2005 by: Francoisracine
Third Degree Blue Belt

Please log in to comment
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.
Answered 10/09/2005 by: Anders_R
Senior Yellow Belt

Please log in to comment
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...
Answered 10/09/2005 by: Anders_R
Senior Yellow Belt

Please log in to comment
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%
Answered 10/10/2005 by: Francoisracine
Third Degree Blue Belt

Please log in to comment
2
Hi Francois:

There should not be any space in between -f1 and %systemdrive%\setup.iss
Answered 10/10/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
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
Answered 10/14/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Thanks Wiseapp. Nice to get points from such highly rated member.[:)]
Answered 10/17/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
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
Answered 06/09/2009 by: sanju
Senior Yellow Belt

Please log in to comment
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
Answered 06/09/2009 by: akhlaque
Orange Senior Belt

Please log in to comment
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 .
Answered 06/10/2009 by: sanju
Senior Yellow Belt

Please log in to comment
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
Answered 06/11/2009 by: VBScab
Red Belt

Please log in to comment
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 !
Answered 06/11/2009 by: sanju
Senior Yellow Belt

Please log in to comment
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.
Answered 06/11/2009 by: VBScab
Red Belt

Please log in to comment
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.
Answered 06/11/2009 by: akhlaque
Orange Senior Belt

Please log in to comment
0
Means ?

I used the uninstall string of my application only .
Can you be more specific
Answered 06/11/2009 by: sanju
Senior Yellow Belt

Please log in to comment
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.
Answered 06/15/2009 by: DanStutzman
Yellow Belt

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