View Full Version : Exiting installation gracefully

10-16-2003, 10:54 AM
I have a very simple BASIC MSI project that is responsible for checking IE Version and if .NET is installed. This part works fine. If both return true I want to launch another Setup.exe (located in SrcDir) and exit this install. It works okay but when I check the task mgr, the msiexec.exe and Idriver.exe are still running. I need a way to exit the installation gracefully, without showing any of the "setup error" dialogs.

Thanks, any help is greatly appreciated.

10-20-2003, 08:23 AM
Your best approarch is to probably run the msi with no ui. That way you won't get any of the dialogs. For the custom action that launches your setup.exe, make sure that the return processing option is set to Asynchronous (no wait for completion). This will allow the msi to exit gracefully and your setup.exe to continue running.

You will always notice an msiexec.exe process running, this is the main service. Additional ones are created when an msi is running.