cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dinesh_redhawk
Level 6

how to capture the output/errors from command line operations done by LaunchAppWait

Hello Guys,

I am performing some command line operations by launching the CMD using LaunchAppandWait but for certain scenarios or error situations, i need to capture the output/status of the commands executed and also need to capture the errors in case of any failure. How can i achieve this?
currently, we are planning to implement the commandline operations via a C# program and send the return status to Installshield, but i personally want to do this through Installscript or something (if possible).
Please let me know your views and suggestions.
If you have a code snippet that i can refer, then it will be very helpful.

Thanks
Labels (1)
0 Kudos
(12) Replies