title: Web Deploy create Virtual directory and add application
body: <p>I need to deploy web applications to an IIS 7.5. I have tried to create a <a href="http://www.iis.net/downloads/microsoft/web-deploy" rel="nofollow">web deploy</a> package but I run into a problem.</p>
  
  <p>Most of the applications I need to deploy are nested under virtual directories. Example:</p>
  
  <pre><code>Web Site/vDir/vDir/application
  </code></pre>
  
  <p>This seems to work if the virtual directories are already created. But if they are missing the application are instead created directly under the Website.</p>
  
  <p>I create the package with the parameters <code>/t:build;Package</code></p>
  
  <p>Atm. I am using the cmd file to deploy with parameters <code>/Y /m:[Servername]</code>
  I can't find a way to change the dest parameter. Do I need to use msdeploy directly instead?</p>