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
- :
- Trapping return code from InstallAnywhere
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
Oct 20, 2013
05:36 PM
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
This is our workflow:
[LIST=1]
--
Regards
Sandra Carney
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 20, 2013
06:08 PM
Never mind,
I figured it out. My watchdog gets is from GetExitCodeProcess() on Windows.
--
Sandy
I figured it out. My watchdog gets is from GetExitCodeProcess() on Windows.
--
Sandy