Community Forums
Results 1 to 5 of 5

Thread: OS Return Code from Installer

  1. #1
    aboondocksaint Guest

    OS Return Code from Installer

    I am trying to return an error level/return code from the installer. Example using a program to call he installer and the installer returns a code to the calling program(similiar to a batch file errorlevel)

    Thanks for your help.

  2. #2
    Jeff Dillon Guest

  3. #3
    Join Date
    Mar 2002

    thanks for the help,

    I have another question, if i set the Exit code , and do a system exit will it still be give back to the script or. is there any other preferred mode of ending the install in custom wizard bean.

    thanks a lot


  4. #4
    Jeff Dillon Guest
    Searching for "exit code" on our KB gives the following article which describes what you should do.

  5. #5
    tbird01 Guest

    Only for Batch File???? Help Please...

    For Win32, This KB article only mentions obtaining via an errolevel, which sounds like a batch file implementation. I need to obtain one applications return code from within another. Is this possible??? Inside App A, I set the return code. In App B, I perfrom a processWaitFor to kick off App A. The value returned here is not what was set in App A. I also tried a getExitCode, inside App B, this too is not the correct value I am needing. Again, is this possible?

Posting Permissions

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