When using a zipped package that is installed using a batch file, I keep seeing the CMD window pop up when it runs. It seems that binaries like .exe and .msi files are completely silent. However, anything that runs in a CMD, opens the window. Which is a nuisance since the end users will see this.

I've even tried using a VBS which calls the .bat file, but even that opens the CMD window. Presumably because of the cscript.exe call.

cscript.exe !InstallSilent.vbs //nologo


Any ideas on how to silence this?
0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer


Well, I found this utility which seems to have solved my issue. I'm in no way affiliated with this tool. Just found it Googling.


Hidden Start - Run Applications and Batch Files without a Console Window or UAC Prompt

Console applications and batch files are regularly run at Windows startup or in a schedule. The main inconvenience of this is that each application opens a console window that flickers on the screen. Hidden Start (or Hstart) is a lightweight command line utility that allows you to run console applications and batch files without any window in the background, handle UAC privilege elevation under Windows 7 and Vista, start multiple commands in parallel or synchronously, and much more.
Answered 01/27/2012 by: Whizzer929
Senior Yellow Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


I'll second the recommendation of HStart. We have been using this utility for a couple of years with no problems. I don't often trust the results of a Google search for a utility, but Hidden Start is a good one. Sande
Answered 01/27/2012 by: snissen
Fourth Degree Green Belt

Please log in to comment
Try this one:
wscript.exe "C:\yourpath\invis.vbs" "your file.bat"
in invis.vbs put...

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

That should make bat files silent at least
Answered 02/01/2012 by: rmeyer
Second Degree Blue Belt

Please log in to comment