Is there a way...?

  • Thread starter Thread starter Wardeaux
  • Start date Start date
W

Wardeaux

I have a product that needs several pieces to be installed like DotNetFX.EXE
and MSDE.EXE... unfortunately, the MSDE.EXE install requires that it run in
it's own process like when typed in from the command line...
I don't want my users having to type in a bunch of stuff causing
installation support issues, so how can I automate running a command from
the command line from within another application?

MTIA
wardeaux
 
I assume you want to execute the command from within your .NET application.
For that, look at Process.Start in the Process class and also take a look at
ProcessStartInfo class. Both are in the System.Diagnostics namespace.

hope that helps..
Imran.
 
Imran,
Thanks for the reply. I've already tried the Process.Start and when I
would execute the MSDERelA.EXE install it would only get so far and then
hang... after research I was told that I had to execute that install within
it's own process space (like from the commandline)... I tried just about
everything including BAT files etc... the only thing that seemed to work was
executing it from the Start->Run box... Did I miss something with the
Process.Start?
MTIA
wardeaux
 
Did you look into using the bootstrapper (link in previous post)? I haven't
used it but I believe that should do the trick for you.

Imran.
 
Back
Top