Hi,
I have a WaitForExit which seems to hang. I've taken a look at this post: http://stackoverflow.com/questions/139593/processstartinfo-hanging-on-waitforexit-why
And I've seen the code it refers to on MSDN. The thing is when I add the string output = p.StandardOutput.ReadToEnd();
It jumps straight to the WaitToExit before it has finished doing what it has to do. I'm trying to silient install SQL2005 Express on a machine as part of an installation bundle.
I need to wait for this to complete and then create the database etc
Thanks