Last post Jan 24, 2010 10:29 PM by Thomas Sun – MSFT
Jan 19, 2010 10:21 AM|gsuttie2008|LINK
If i have 2 copies of the same code base - Can I use 1 web setup project to install the same website to 2 separate web sites under IIS.
Might sound like a strange request but I want to deploy 2 versions of the site using 1 setup project.
Thanks for any advice
Jan 24, 2010 10:29 PM|Thomas Sun – MSFT|LINK
By default, Web Setup project just copy its contents to Virtual Directory on target machine.
To deploy multiple websites using one Web SetUp project, we can add other website folders into one website folder so that all websites will be copied to target machine. And then use Custom Action to create Virtual Directory and then retrieve these website
folders and copy them to created Virtual Directory.
For more information about using Custom Action to create Sites and Virtual Directories in IIS with System.DirectoryServices, see
I look forward to receiving your test results.