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

LaunchAppAndWait constants

CChong
By Level 11 Flexeran
Level 11 Flexeran
Hi All-

I am using a LaunchAppAndWait function in Installscript to launch a batch file at the end of a MSI setup and would like to launch it minimized or hidden.

Example:
LaunchAppAndWait ( szProgram, szCmdLine, LAAW_OPTION_MINIMIZED );

The problem is, I can't find the number value of the constants:

LAAW_OPTION_MINIMIZED
LAAW_OPTION_HIDDEN

and I can't find the header file where these are defined (I think its Ifx.h).

Anyone know the values or which IS product includes these headers???

Thanks in advance,
Dan Lawrence
(2) Replies
They are defined through ifx.h and ultimately down in extendfunc.h.

#define LAAW_OPTION_NOWAIT 0x00000000
00035: #define LAAW_OPTION_WAIT 0x00000001
00036: #define LAAW_OPTION_HIDDEN 0x00000002
00037: #define LAAW_OPTION_MINIMIZED 0x00000004
00038: #define LAAW_OPTION_MAXIMIZED 0x00000008
00039: #define LAAW_OPTION_SET_BATCH_INSTALL 0x00000010
00040: #define LAAW_OPTION_SHOW_HOURGLASS 0x00000020
00041: #define LAAW_OPTION_NO_CHANGEDIRECTORY 0x00000040


You should find all your includes in the


C:\Program Files\InstallShield\AdminStudio\5.5\Repackager\Script
C:\Program Files\InstallShield\AdminStudio\5.5\DevStudio

I would solve the problem of the missing files rather then start hard coding individual macros and functions in.
Hi,

I am using Developer 8. its not working for me? i am new to installshield. can u please explain me about the values for example '0x00000004'.
Top Kudoed Authors