Community Forums
Results 1 to 2 of 2

Thread: How to Force the Installer to Exit based on an IA variable

  1. #1
    Join Date
    Dec 2009
    Posts
    7

    Exclamation 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.

  2. #2
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147

    Exclamation

    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.
    Vlad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •