PDA

View Full Version : Help: Return code from setup.exe



john_w
10-20-2003, 08:10 AM
We have an C++ application that executes install programs. When the application executes a given "setup.exe" (using CreateProcess), the setup.exe always seems to return 0.

The application will not know what install programs it will invoke at compile time. I am using IS Professional 7.0.

So, how am I supposed to know the outcome of the install? For example, if user clicks 'cancel' or an install error occurs, ideally setup.exe should return an appropriate error code.

Is this a bug? any workarounds to get this working is much appreciated.

Thanks