This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Issue with LaunchAppAndWait after upgrading IS11.5 project to Installshield 2011
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Sep 16, 2011
03:45 AM
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
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
(3) Replies
Sep 16, 2011
05:42 AM
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.
LaunchAppAndWait has been superseded by LaunchApplication and WaitForApplication.
Maybe that will fix your problem.
Sep 16, 2011
08:12 AM
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.
Sep 17, 2011
06:31 AM
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.
Will update you once I am done with changes.
Thanks a lot for quick inputs.