title: ASP.NET MVC deployment in a form of distribution package
body: <p>I have an ASP.NET MVC application. And I need a way to deploy it.</p>
  
  <p><strong>BUT</strong></p>
  
  <p>I don't need to just copy it to my own web server. It's not meant to be a website that it available on the Internet. No.</p>
  
  <p>Instead, <em>I need my users to be able to install it on <strong>their</strong> own server</em>. Which may or may not be visible from the Internet.</p>
  
  <p>That is, I need to create an MSI package (or EXE self-extracting installer, or whatever) that my customer can just double-click on, and the MVC app should get installed on their local IIS.</p>
  
  <p>I can, of course, just plain write some code that would extract the files, copy them to the local hard drive, and then create a website or a virtual directory in IIS, blah-blah-blah. But something tells me there should be an easier way. Like, say, a WiX extension that already does that. Or something.</p>
  
  <p><strong>Note:</strong> the application is very simple. No need for databases, special privileges, SMTP server configuration... Or, in fact, any kind of configuration at all. Just copy the files and create IIS app.</p>