cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
LaxmikantLK
Level 2

Issue with LaunchAppAndWait after upgrading IS11.5 project to Installshield 2011

Hi,

I have upgraded ISM project created in IS 11.5 to Installshield 2011, and tried to run build output and noticed that "LaunchAppAndWait" function is not waiting till that task gets completed and control is moving to next step in project. This is results in installation failure.

We used below template in our code
***************************************************
LaunchAppAndWait("",szCmdLine,
LAAW_OPTION_WAIT|LAAW_OPTION_HIDDEN|
LAAW_OPTION_SET_BATCH_INSTALL|LAAW_OPTION_SHOW_HOURGLASS);


***************************************************

Can someone provide any pointers to resolve this issue?

Regards,
LK
Labels (1)
0 Kudos
(3) Replies
Holger_G
Level 10

Take a look at the What’s New in InstallShield 2008 help topic.

LaunchAppAndWait has been superseded by LaunchApplication and WaitForApplication.

Maybe that will fix your problem.
0 Kudos
DebbieL
Level 17

Also, take a look at the last bulleted list item in the LaunchApplication help topic. Maybe you'll need to use the /clone_wait parameter as part of your command line.
0 Kudos
LaxmikantLK
Level 2

Thanks all for your inputs....I am trying Launchapplication function instead of Launchappandwait.

Will update you once I am done with changes.

Thanks a lot for quick inputs.
0 Kudos