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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Faulty Exit Code
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
Dec 01, 2011
12:06 PM
IsCmdBld and faulty exit code
I've seen a lot of old posts about this, but nothing recent and nothing that would seem to lead to a solution to my current problem.
I'm working on an automated build sequence (calling IsCmdBld, often on multiple projects simultaneously). I'd like to have the build sequence halt if a legitimate error occurs with one of the Installshield build processes, but it seems like the exit code is not reliable (got a large negative return value instead of 0 on a successful (error-free) build). I do have one or two warnings, and since there's a -w switch I'm not using, I assume these should not cause an error result.
Since this problem seems to have been around for many versions of IS, I'm hoping there are some good alternative suggestions for detecting a failed build (or something I should be doing differently to get the correct exit code - I have a C# .NET automation program, and am using a Process object -- after the HasExited flag is hit, I check the ExitCode property on the Process) ?
I'm working on an automated build sequence (calling IsCmdBld, often on multiple projects simultaneously). I'd like to have the build sequence halt if a legitimate error occurs with one of the Installshield build processes, but it seems like the exit code is not reliable (got a large negative return value instead of 0 on a successful (error-free) build). I do have one or two warnings, and since there's a -w switch I'm not using, I assume these should not cause an error result.
Since this problem seems to have been around for many versions of IS, I'm hoping there are some good alternative suggestions for detecting a failed build (or something I should be doing differently to get the correct exit code - I have a C# .NET automation program, and am using a Process object -- after the HasExited flag is hit, I check the ExitCode property on the Process) ?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 17, 2012
09:20 AM
I see the very same issue with InstallShield Professional 2012. The return code is -1073741819. I am curious if you found a workaround to the problem. If not, perhaps you get the same return code? If so, maybe we can call that "good" until a fix is made?
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)