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?
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)
Please log in to answer
Posted by:
akhlaque
19 years ago
Posted by:
andler
19 years ago
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
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
19 years ago
Posted by:
Francoisracine
19 years ago
Posted by:
Anders_R
19 years ago
Posted by:
Anders_R
19 years ago
Posted by:
Francoisracine
19 years ago
Posted by:
wiseapp
19 years ago
Posted by:
akhlaque
19 years ago
Posted by:
sanju
15 years ago
Posted by:
akhlaque
15 years ago
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
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
15 years ago
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 .
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
15 years ago
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
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
15 years ago
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 !
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
15 years ago
Posted by:
akhlaque
15 years ago
Posted by:
sanju
15 years ago
Posted by:
DanStutzman
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.