This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to get a detailed error messsage?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2013
03:25 PM
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
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
(4) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2013
09:45 AM
LaunchAppAndWait ( szProgram, szCmdLine, LAAW_OPTION_WAIT );
nResult = LAAW_PARAMETERS.nLaunchResult;
nResult = LAAW_PARAMETERS.nLaunchResult;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2013
08:44 AM
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
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2013
09:20 AM
Use FormatMessage InstallScript function.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2013
12:36 PM
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
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