Loading

CChong2 (Flexera) asked a question.

LaunchAppAndWait constants
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

  • 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.
    Expand Post
  • 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'.

Related  Product Forums


                     â†’ Flexera One



                      â†’ Snow Atlas



                      â†’ FlexNet Manager



                      â†’ Snow License Manager



                       â†’ App Broker


       Need help finding an answer?


        Ask a Question →


Loading
LaunchAppAndWait constants