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
- :
- How I can set the errorlevel/LAAW_PARAMETERS.nLaunchResult for the calling Cmd/Setup
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Feb 23, 2015
04:29 AM
How I can set the errorlevel/LAAW_PARAMETERS.nLaunchResult for the calling Cmd/Setup
I have 2 Setups:
Setup 1 call Setup 2 over “LaunchApplication (strStartPgm, StrStartPgmCmdLine, "", SW_NORMAL, INFINITE , LAAW_OPTION_WAIT_INCL_CHILD);”
How I can set the or LAAW_PARAMETERS.nLaunchResult for the Setup 1 if the user for example cancel the setup 2 and continue doing set the %Errorlevel% for the calling cmd in Setup 1
For Inforation: its a pure Installscript Project
Thanks
Setup 1 call Setup 2 over “LaunchApplication (strStartPgm, StrStartPgmCmdLine, "", SW_NORMAL, INFINITE , LAAW_OPTION_WAIT_INCL_CHILD);”
How I can set the or LAAW_PARAMETERS.nLaunchResult for the Setup 1 if the user for example cancel the setup 2 and continue doing set the %Errorlevel% for the calling cmd in Setup 1
For Inforation: its a pure Installscript Project
Thanks
(1) Reply
Feb 24, 2015
06:57 AM
nLauchResult is basically a return code from the application which is launched.
In your example .... Setup2 will return a non-zero number to setup1 as it's being cancelled by the user.
Using this value you can conditionally perform any custom task.
In your example .... Setup2 will return a non-zero number to setup1 as it's being cancelled by the user.
Using this value you can conditionally perform any custom task.