Two Articles about Web Setup Projects with Visual Studio
User "rmortega77" recently has published two articles about web setup projects on CodeProject :
Deploy IIS settings along with your Web Project
One of the issues that you need to consider as you plan for how to deploy your ASP.NET applications is how to deploy IIS settings along with your solution. This is a brief example of how to set the Virtual Directory Authentication Settings.
Allow user to set physical directory path during Web Project deployment
We want the user to set the physical path for our Web application IIS virtual directory, during deployment. Since the Web Setup project does not allow this, our idea is to use the Application Setup project to create the physical path, and content, and later with a Custom Action, create the virtual directory, using IIS Admin Objects.