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.

RE: Suppress command window wile using IExpress wizard by pavel_a

pavel_a
Tue Aug 01 05:59:02 CDT 2006

"shaji" wrote:
> 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?

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

Regards,
--PA


Re: Suppress command window wile using IExpress wizard by shaji

shaji
Tue Aug 01 17:36:25 CDT 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:
> "shaji" wrote:
> > 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?
>
> Instead of a .cmd file, specify as install command:
> wscript.exe file.vbs ( or .js )
>
> Regards,
> --PA


Re: Suppress command window wile using IExpress wizard by pavel_a

pavel_a
Wed Aug 02 10:29:02 CDT 2006

"shaji" wrote:
> 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.

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.

> So, could you please explain what this "wscript.exe file.vbs ( or .js
> )" means.

See above.

> How can I create and run a vbs or js files and run it with IExpress
> wizard?

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

> Pavel A. wrote:
> > "shaji" wrote:
> > > 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?
> >
> > Instead of a .cmd file, specify as install command:
> > wscript.exe file.vbs ( or .js )
> >
> > Regards,
> > --PA