I am creating a program that will install multiple programs, because I build new computer quite often. For example "MyInstallProgram" will launch and allow the user to select which programs (MSOffice, Acrobat, WinZip etc.) to install.

When compiling the program, what code can I use that will insert a time delay so that I do not have 5 install programs running and installing all at once.

Is there code that would insert 30 seconds before the next line of code is executed? What would that code look like?


Logic:

If MSOffice checked then,
open c:\windows\msofficesetup.exe

wait 30 seconds

If Acrobat checked then,
open c:\acrobatsetup.exe

wait 30 seconds...

etc.

Somthing like.

System.Threading.Thread.Sleep(1000) ' Sleep for 1 second

?

check out this site for how to delay until the process has ended to continue with the next one.

What site? I think you forgot to post the link ;).