PaulieORF Posted March 6, 2005 Posted March 6, 2005 (edited) Here is my situation: I have a bunch of installation EXE files that I have created using InstallRite. For those who don't know, InstallRite creates quiet installation programs that run quickly for deployment, instead of running the standard installation setup for each application. I am creating a front end in Visual Basic .NET for these EXEs that will let the user pick which programs they want to install. I am to the point where I can produce a list of the EXEs that the user selected. But what I want to accomplish is this: I would like it to run the first installation that the user selected. Once that one finishes, and the installer closes, I'd like my program to tell it to begin installation of the second one, and then the third, and so on, until all EXEs have been completed. Does anyone knwo if what I want to do is possible, and if so, how can I go about this? P.S. I previously gave my program the ability to write a Batch file that would execute the files, and use the START /WAIT command so that each app would be allowed to finish before the next woudl run, but unfortuantely the /WAIT command is not compatible with the EXEs that I'm using. Edited March 6, 2005 by PaulieORF Quote
coldfusion244 Posted March 6, 2005 Posted March 6, 2005 You'll want to use the Process class. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdiagnosticsprocessmemberstopic.asp [Process].Start() and [Process].WaitForExit() Quote -Sean
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.