Hello, I have another simple question, which has been haunting me. I am using the WshShell.Run command in a script to install three small applications. The script works great except that all three installs are running at the same time. How can I get the script to pause and wait for the previous install to end. I know it must be something simple.
Here is an example of the script:
-----------------------------------------------------------
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "InsatllFiles\updateX.exe"
WshShell.Run "InsatllFiles\updateY.exe"
WshShell.Run "InsatllFiles\updateZ.exe"
MsgBox("Update are complete.")