This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: How to Force the Installer to Exit based on an IA variable
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 18, 2010
03:38 PM
How to Force the Installer to Exit based on an IA variable
I'm looking for a way to force the Installer to exit based on the result of a script command or a IA vairable
Script:
source SYBASE.csh
isql -Usa -Ppassword -Userver
Output:
Msg 4002, Level 14, State 1:
Server 'server':
Login failed.
CT-LIBRARY error:
ct_connect(): protocol specific layer: external error: The attempt to connect to the server failed.
I was thinking of greping for 'Login failed'. if I find it, I would set the IA variable to some value.
Script:
source SYBASE.csh
isql -Usa -Ppassword -Userver
Output:
Msg 4002, Level 14, State 1:
Server 'server':
Login failed.
CT-LIBRARY error:
ct_connect(): protocol specific layer: external error: The attempt to connect to the server failed.
I was thinking of greping for 'Login failed'. if I find it, I would set the IA variable to some value.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 19, 2010
04:04 AM
You may want to look at the exit code returned by the script, there are variables provided by IA for example when using Execute Target File.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)