PDA

View Full Version : LaunchAppAndWait in the sequences



Liu Song
07-29-2004, 11:08 PM
I am always puzzled with the sequences. And I always have to try many times to place my CA in the right location within the sequences.
OK. I have to launch an EXE after my installation. The EXE was just installed in the same installation. So I created a CA which runs LaunchAppAndWait to launch my EXE. And now, I began my trip of finding out the right location of my CA in the sequences.
Anywhere between InstallInitialize and InstallFinalize?
No. It seemd that the EXE has not been copied to the tagart system. So LaunchAppAndWait failed.
After InstallFinalize?
Of course. It caused errors to do so.
DoAction in the Finish button of Dialog SetupCompleteSuccess?
The result was nothing happened.

I also want to launch the EXE before it is uninstalled from the system. And I also didn't find the right oder.

MY INSTALL IS BASIC MSI!

I appreciate for any help you could give.
Thanks!


Liu Song

TsungH
07-30-2004, 10:16 AM
This article, Installation Phases and In-Script Execution Options for Custom Actions in Windows Installer (http://www.installsite.org/pages/en/isnews/200108/default.htm), by Stefan Krueger will shed some light on where you can schedule your custom action.