PDA

View Full Version : OnFirstUIAfter event getting called twice



vinaya
03-07-2005, 12:54 PM
Hi,

We migrated installshield professional scripts from version 6.3 to 10.5. The setup builds fine and installs ok.

We try to invoke an msi package using LaunchAppAndWait in OnFirstUIAfter event handler. OnFirstUiAfter gets called twice during the process. The first time, it gives the following error -
"This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package. "

OnFirstUIAfter gets called again and then the msi package gets installed.
msiexec is in the correct path.

It seems that the occurrence of the error causes the OnFirstUIAfter event to be called twice.

Anyone faced such a problem.

Please help. Thanks in anticipation.

Regards,
Vinay

neo_matrix
03-10-2005, 07:36 AM
Try calling this LaunchApp function in an event other than OnFirstUIAfter....Does this same behavior occur?

Let me know.

Neo