title: How to publish a ClickOnce application from an installer
body: <p>I want to create an installer to put a Deployed ClickOnce application on an IIS Virtual Directory in order to have the application available for download. (In other words I want an installer that publishes my application on IIS.)</p>
  
  <p>What I'm planing to do is:</p>
  
  <ol>
  <li>Deploy (manually) the app on a local folder;</li>
  <li>A web installer project gets the files from the deployed folder and creates a virtual directory on IIS with all the needed files;</li>
  <li>A custom action on install uses mage.exe to update the .application with the correct  AppCodeBase url;</li>
  </ol>
  
  <p>Is there a better/easier/cleaner way to do this?</p>
  
  <p>Marco</p>