Tech Support > Microsoft Windows > Drivers > Suppress command window wile using IExpress wizard
Suppress command window wile using IExpress wizard
Posted by shaji on July 31st, 2006


Hi all,
I'm using IExpress wizard to create a self extracting driver package. I
use a command-line script to create some directories in the extraction
path and copy some files into them. I'm using DPInst to install the
driver files onto Vista systems.
My questions are;

1. How I can suppress or at least minimize the ugly command window that
pops up when the command-line script runs?

2. Some of the buttons on the DPInst screens seem to be redundant...
such as the Finish and Cancel buttons on the finish page seem to do the
same thing. How can I get rid of the redundant buttons on the DPInst
screens?

Thanks in advance,
Shaji.

Posted by Pavel A. on August 1st, 2006


"shaji" wrote:
Instead of a .cmd file, specify as install command:
wscript.exe file.vbs ( or .js )

Regards,
--PA


Posted by shaji on August 1st, 2006


HI Pavel, thanks a lot for this. I'd been a VC programmer and
fortunately or unfortunately I never had to work with scripting stuff.
So, could you please explain what this "wscript.exe file.vbs ( or .js
)" means.
How can I create and run a vbs or js files and run it with IExpress
wizard?
Shaji.


Pavel A. wrote:

Posted by Pavel A. on August 2nd, 2006


"shaji" wrote:
Unfortunately, then, it's just the time to act up!
Look in MSDN libary for "script center", WSH or Windows scripting host.
There you'll find all the info and samples. Your Visual Studio already
contains the script debugger.

See above.

Well, when you have a working script file just enter
"wscript.exe yourscript.vbs" as the install command
(without quotes!) instead of your current .cmd or .bat file name.
Further questions/comments are welcome in the scripting newsgroups
microsoft.public.scripting.wsh , microsoft.public.scripting.vbs ...

Regards,
--PA



Similar Posts