PDA

View Full Version : How to hide console, when bat/cmd is ran as prerequisite?



Nitin Ghanwat
06-04-2014, 04:46 AM
Hello,

I am launching .bat file as prerequisite which in turn calls some exe.
I dont want console to display when prerequisite setup is going on.

How to achive this?

GrantK
12-19-2014, 03:34 PM
Hi Nitin,

This is defiantly not a build in feature for Installshield. Did a little research and it appears this may be a limitation of using batch files.

http://www.howtogeek.com/131597/can-i-run-a-windows-batch-file-without-a-visible-command-prompt/
"You can’t — executing a batch file with the built in Command Prompt is going to keep a window open until the batch file exits."

Grant