I am attempting to install the MSDE (SQL 2000) as a part of our application.
This requires that you run the MSDE setup.exe program from a Console mode
application, it just hangs forever part way through if executed from a
standard application.
My question is:
How can I make my console mode install application resize it's window or
minimize. The code below is what I'm currently trying which doesn't work...
the Console BOX stays full size.
Process ThisProcess;
ProcessStartInfo SetupProcess = new ProcessStartInfo();
SetupProcess.FileName = "setup.exe";
SetupProcess.Arguments = "INSTANCENAME=\"FBSQL\" /qb";
SetupProcess.WindowStyle = ProcessWindowStyle.Minimized;
ThisProcess = Process.Start(SetupProcess);
ThisProcess.WaitForExit();