PDA

View Full Version : Don't terminate Setup.exe before irsetup.exe


NetSeeker
01-20-2004, 08:05 AM
The forum is full with problems concerning the spawning of irsetup.exe.

If i launch a SF Setup within another SF Setup the option "wait for program to finish until continuing" is quite useless because of the internal behaviour of setup.exe

setup.exe decompresses irsetup.exe (and a view other files) to the temp launch dir. Then it spawns execution to irsetup.exe and terminates. Irsetup.exe runs arbitrary time.

Therefore the termination of Setup.exe has nothing to do with the termination of irsetup.exe

To avoid this, please let setup.exe wait until irsetup.exe terminates. It will make possible to check the termination of the setup simply by monitoring the termination of setup.exe.

Darryl
01-20-2004, 03:56 PM
There is currently an option for running Setup Factory installations with the Wait for return option so it waits until the entire process is complete. Take a look at the command line argument /W which is defined as follows (from the docs):

Wait for Return (/W)
Use the /W option to have the Setup Factory launcher wait for the setup executable to return before exiting. This is useful if you're running the installer from another process and you want that process to wait for Setup Factory to finish before proceeding.

NetSeeker
01-21-2004, 03:54 AM
Darryl, thank you for your immediate reply.

That solves a big problem for me. It is always a good thing to read the documentation before posting a message.

Best regards

Thomas