Last post Nov 12, 2009 10:08 AM by daveblack
Sep 04, 2007 02:33 PM|FredEH|LINK
Basically, I would like to configure my web setup project to create a new website in IIS rather than simply creating the virtual directory. Does anyone know if this is possible?
Sep 04, 2007 07:24 PM|Mikhail Arkhipov (MSFT)|LINK
File | New | Web site
specify site address like http://localhost/MySite
Sep 10, 2007 04:16 AM|Benson Yu - MSFT|LINK
web setup project to create a new website in IIS rather than simply creating the virtual directory
Based on my understanding, you have created a web setup project. What you want to do is install the web application to a special directory and create a new website for it instead of the virtual directory.
Based on my research, I think we can achieve this by overriding the “Install” class to create a website against the special installed directory.
For example, we can first install the web application to a special directory, such as “c:\inetpub\website2”, and then create a website against this folder. For more information, please refer to the following links:
Allow user to set physical directory path during Web Project deployment
script to create a website in IIS
Sep 13, 2007 12:33 PM|FredEH|LINK
That's what I needed. Thanks a bunch!
Nov 12, 2009 10:08 AM|daveblack|LINK
regarding post at: http://forums.asp.net/p/1154573/1900398.aspx
I found your post helpful in the ASP.NET Forum but the link you provided to "create a Website in IIS" is broken. I can't find the appropriate info anywhere. Could you please redirect me to the updated link or resource?