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 see contents of DOS box when using 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
Jun 13, 2012
11:38 AM
How to see contents of DOS box when using LaunchAppAndWait
I have a bunch of files that I manually register with the Global Assembly Cache, the problem is that if I do this 20 times in a row I see 20 cmd windows pop up and disappear, and while I am watching this I might briefly see one of them fail (I just happen to see FAIL in the cmd window before it goes away).
I know I could comment out one at a time, but I am never sure if I am seeing the error every time I run, since it goes by so fast. The visual clue is intermittent.
Is there any way to slow down, or log, the contents of a cmd window from a process that is launched with LaunchAppAndWait?
Thanks
I know I could comment out one at a time, but I am never sure if I am seeing the error every time I run, since it goes by so fast. The visual clue is intermittent.
Is there any way to slow down, or log, the contents of a cmd window from a process that is launched with LaunchAppAndWait?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 13, 2012
12:21 PM
I prefer to check the errorlevel in the bat file and change the color to red and pause if there is an error. If you do use PAUSE in a bat file that is launched from an IS script just make sure that you do not use the LAAW_OPTION_HIDDEN option, because you will be hung blindly if it ever does PAUSE.