Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

LaunchAppAndWait


1 reply to this topic

Ozone

Ozone
  • Full Members
  • 77 posts

Posted 06 August 2004 - 19:35

During some installs, the LaunchAppAndWait function will display a window box while running a batch file, even though LAAW_OPTION_HIDDEN | LAAW_OPTION_MINIMIZED arguments are passed.

This has only been observed in WindowsXP on some machines. I develop and maintain the installs on a WinXP machine, and never see a full window box. I do see the program run on the task bar, and that is acceptable.

The install script is program block style, not object oriented.

ChangeDirectory (SUPPORTDIR);
LaunchAppAndWait ( SUPPORTDIR ^ APP , "" , LAAW_OPTION_HIDDEN | LAAW_OPTION_MINIMIZED | LAAW_OPTION_WAIT );


Anyone else see this?

aviswanathan

aviswanathan
  • Members
  • 18 posts

Posted 11 October 2004 - 18:58

Hi Ozone ..

Check this out in the help section of LaunchAppAndWait. May be thats why its causing a conflict.
Just a guess...

Specifies various options, including whether or not the setup should wait for the launched application to terminate before continuing. Pass one of the following predefined constants in this parameter. You can combine these constants by using the bitwise OR operator ( | ), with the following exceptions: you cannot combine LAAW_OPTION_NOWAIT with LAAW_OPTION_WAIT, and you cannot combine more than one of LAAW_OPTION_HIDDEN, LAAW_OPTION_MINIMIZED, and LAAW_OPTION_MAXIMIZED.

Edited by aviswanathan, 11 October 2004 - 18:58.