cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
macd81o0
Level 3

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.
Labels (1)
0 Kudos
(1) Reply
pv7721
Level 20

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.
0 Kudos