We would like to run update.exe from our product installer, synchronously waiting until it completes and then check its return status. The problem we have is that update.exe seems to 'return' right away (with a return status of 5) even while a copy of update.exe appears to be running just fine. Apparently launching update.exe somehow dissociates itself from the caller and runs 'in the background' as far as our calling process is concerned. I assume the original update.exe process spawns another update.exe which runs while the original returns to the caller.
This means we have not been able to synchronously wait for update.exe to complete. Does anyone have some concrete suggestions for how we can use Installshield's LaunchAppAndWait() with update.exe? Can I disable the 'background' feature of update.exe so our software can wait for its true exit value?
Thanks.
Ken Gartner

Reply With Quote