You can but you manually have to create the site an its a real pain.
You would use a setup project (not a web deployment project) and add an
installer class that on install creates the website on the IIS after
checking its not already there etc. I don't know anyone who has done this as
IMO its a fairly painful task.
"Sachin" <an********@microsoft.com> wrote in message
news:eL*************@TK2MSFTNGP15.phx.gbl...
Hi All,
I want to deploy as ASP.NET application using msi.
However, instead of deplyoing it under a virtual directory, I want to
deploy
it under a site (Create a new site)
Can I do this using deplyoment project and how?
Thanks In advance
Sachin