cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
scarney
Level 5

Trapping return code from InstallAnywhere

All,

This is our workflow:

[LIST=1]
  • We have a watchdog program that launches the installer.
  • The watchdog's job is to trap the return code from the installer and report plus gather up the logs for easy collection should it come to that.
  • The trouble is that even if the user cancels, the return code is 0. I though, according to pp. 385 of the user guide, the exit code is supposed to be 1000. It is 0 after either clicking the [Cancel] button in one of the main dialogs or clicking the [Cancel] button in reponse to a canned InstallAnywhere dialog asking them if they want to continue or really cancel. So when *does* InstallAnywhere return 1000?


    --
    Regards
    Sandra Carney
  • Labels (1)
    0 Kudos
    (1) Reply
    scarney
    Level 5

    Never mind,

    I figured it out. My watchdog gets is from GetExitCodeProcess() on Windows.

    --
    Sandy
    0 Kudos