My installer currently includes an installscript function with the call LaunchAppAndWait(), which is used to launch a .bat file.
Unfortunately, the .bat file in question creates some std text output so a console window is opened momentarily.
This is probably not an Installshield question per se, but does anyone know how to suppress I/O (/dev/null in UNIX) from within a DOS .bat file? Alternatively, is there an option to suppress output from LaunchAppAndWait()?
Thank You
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
LaunchAppAndWait(), .bat file, Suppress Output?
Started by
cmahood
, Apr 23 2004 19:08
2 replies to this topic
Posted 25 April 2004 - 05:51
You can append > to the command in the .bat to redirect the output, like:
dir > file.txt
dir > file.txt
Stefan Krüger
InstallSite.org twitter facebook
Posted 26 April 2004 - 13:57
And if you really want to suppres the output completely then don't redirect it to a file like Stefan mentioned ("dir > file.txt"), instead redirect the output to the nul device ("dir > nul")
h.teichert-ott