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: Get output from LaunchAppAndWait?
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
‎Nov 19, 2009
01:11 PM
Get output from LaunchAppAndWait?
Is there a way to get output from LaunchAppAndWait? If, for example, I wanted to find the version of Java on the machine and executed "java -version" from the launch function, how would I get back the output from the command line?
I know you could look this up in the registry, but there are other things I would need that aren't in the registry.
I know you could look this up in the registry, but there are other things I would need that aren't in the registry.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2009
04:42 AM
I don´t know about that "java-version" console program but maybe you can redirect the output stream into a text file and utilize that text file.
java-version.exe > output.txt
java-version.exe > output.txt
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2009
04:20 PM
thanks for the suggestion. Yeah I thought about that, but it seemed unnecessary if there was a more direct way to receive output back from the command line. I'll probably stick to this solution unless I can find something else better.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2009
03:50 AM
Hello anom217,
I suggest you'd have a look at "LAAW_PARAMETERS.nLaunchResult"
HTH Alex
I suggest you'd have a look at "LAAW_PARAMETERS.nLaunchResult"
HTH Alex
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2009
04:01 AM
Alex1969 wrote:
Hello anom217,
I suggest you'd have a look at "LAAW_PARAMETERS.nLaunchResult"
HTH Alex
That´s the return code of the executable but anom217 talks about the output from the application.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2009
04:25 AM
Holger_G wrote:
That´s the return code of the executable but anom217 talks about the output from the application.
Yes you are right. So i have no further suggestions, sorry.
Alex