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

How to get a detailed error messsage?

Hi!

I am trying to launch another setup program (using LauncApplication) from my Installshield script and it fails everytime.

How can get a detailed error message to track down this problem?

Thank you,

Nick
Labels (1)
0 Kudos
(4) Replies
Not applicable

LaunchAppAndWait ( szProgram, szCmdLine, LAAW_OPTION_WAIT );
nResult = LAAW_PARAMETERS.nLaunchResult;
0 Kudos
Marbled
Level 3

Thank you!

I guess the question should be how do I convert those return codes into a meaningful error message...

Thank you and have a nice day!

Nick
0 Kudos
rrinblue22
Level 9

Use FormatMessage InstallScript function.
0 Kudos
Marbled
Level 3

Thank you!

I was able to debug my script and while I still have a few tests to do to make sure it exactly does what I want it to do it's now behaving pretty close to how I want it to behave...

Once again thank you!

Nick
0 Kudos