/build/static/layout/Breadcrumb_cap_w.png

MI won't be silent with batch file

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

!Install.cmd

Any ideas on how to silence this?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Whizzer929 12 years ago
Senior Yellow Belt
1
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.

http://www.ntwind.com/software/hstart.html

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.
Posted by: snissen 12 years ago
Fourth Degree Green Belt
0
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
Posted by: rmeyer 12 years ago
Second Degree Blue Belt
0
Try this one:
http://www.computing.net/answers/dos/run-batch-file-invisiblestealth/14270.html
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ