title: Download a file and then execute it
body: <p>I'm creating an application that downloads some applications (like FireFox, WinRar, RealPlayer) and then install them silently using Shell command. This is the code:</p>
  
  <pre><code>My.Computer.Network.DownloadFile("URL", "path\file.exe")
  Shell("path\file.exe /s")
  </code></pre>
  
  <p>The problem is that the shell command starts before Download Is completed, so I get a "file not found" error. So my questions are: </p>
  
  <ol>
  <li>How can I execute Shell command after the download is completed?</li>
  <li>Can I use process.start with <code>S</code> parameter instead of Shell command?</li>
  </ol>