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 to capture the output/errors from command line operations done by LaunchAppWait
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
Jun 30, 2017
01:15 AM
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
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
(12) Replies