Problem: InstallShield IsCmdBuild.exe exit code -1073741819
Description: A while back we ran into a problem with our build box at work. One of our installers suddenly stopped building, giving back the error code -1073741819. I immediately opened InstallShield's GUI and built the installer and it built with no problems. I tried again to build it with the Visual Build step (calling the ISCmdBuild.exe - InstallShield's command line tool to build the installer) and it failed again. So I made the Visual Build step output the command line it was calling. I then copied that and ran that exact command in a command prompt. It built successfully. This led me to believe that it was a problem with Visual Build. Posting a message on their forums proved useless as they said there was a workaround that had you just handle the error event, look for that Id and change the status of that step to good if it encountered that error. The problem is that the installer did not build, so the step truly did fail. So I went back to the idea that it was an InstallShield problem and so tried posting a message on InstallShield's forums and got no response whatsoever.
During my investigation, I did determine that the only time that IsCmdBuild.exe would fail on this step was if the Visual Build project was launched by a Windows Scheduled Task.
The first time we got this message, I had to restore an old version of the build box and work with that. The second time I didn't have the luxury of doing that. So I dug and dug into the InstallShield files and tested a couple theories. I finally came across a solution that worked.
Solution:
- Uninstalled the InstallScript Objects.
- Deleted the .msm files in C:\Program Files\Common Files\Merge Modules.
- Deleted C:\Program Files\IS11.5\Objects\MDAC28.msm.
- Ran the IS11.5 install and ran a "Repair".
- Reinstalled the InstallScript Objects.
- Downloaded MDAC 2.8 Merge Module from the Objects section in an InstallShield InstallScript project.
I kicked off a new build and everything worked. We haven't seen that problem resurface since.
Tags: InstallShield, VisualBuild