I'm trying to install a series of executable files from a directory on a button press - I have it working for a single process, however I'm trying to figure out how to start another process after the previous one has finished installing.
I've tried literally just having them listed one after the other...
Process.Start(@"\\filepath\DXSDK_Feb10.exe", "/U /NoRestart");
Process.Start(@"\\filepath\DXSDK_Jun10.exe", "/U /NoRestart");
But this hasn't worked... obviously, hence why I'm searching for help :P
How can I install a list of executable files one after the other in C#?
EDIT - should've noted that I'm using Unity Engine and I don't believe that
Process.WaitForExit();
works on it