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

Please Help Me how can i check msi status from installshield installer

Hi all

I try to bulid installshield project that install some msi file and run this install file
the problem is
how can i know if the inside msi finish success or not because if my client press Cancel and close the inside msi the outside installer do not know.


Thanks
Yaniv
Labels (1)
0 Kudos

(5) Replies
KathyMorey
Level 10

How are you launching the msi's? If you are using LaunchAppAndWait, you can use LAAW_PARAMETERS.nLaunchResult to determine if the msi was cancelled by the user.
0 Kudos
yanivna
Level 4

Yes i using in LaunchAppAndWait but this function return only if the file open OK or not and if the msi open ok
and the user click cansel she return me success value and this is the problem
i need to know what is the real status.
do you have a recognize how to do it ?

Thank
Yaniv
0 Kudos
RobertDickau
Flexera Alumni

As Kathy mentions, the return value of LaunchAppAndWait reports only whether InstallScript could find and launch the executable; but for the executable's return code, you'll want to check LAAW_PARAMETERS.nLaunchResult. Searching the help and these forums for "nLaunchResult" will give more information and examples.
0 Kudos
yanivna
Level 4

Thanks i try it 🙂
0 Kudos
yanivna
Level 4

Thanks it work !!!
0 Kudos