Click here to Skip to main content
15,891,424 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I trying to create a website in IIS by web setup project. But I never get any idea about it. Before I created a virtual directory and and I access a site like "http//localhost/virtualdirectoryname/Login.aspx".

And I want ask a user to select a folder location to install the web application. (No need to create a path under inetpub/wroot/virutaldirectory.)

Kindly give me the solution.

Thank you.
Posted

Hello,

I have done this Before


Go through this link http://www.iis.net/ConfigReference/system.applicationHost/sites/site[^]

Also you need to create Custom action which will be triggered on starting installation and that custom action will create Website and will setup other things.
 
Share this answer
 
v2
Comments
Member 7684075 18-Nov-11 0:02am    
hello deepakdynamite,

Thanks for your reply.

But i dont want create a website by manually. I want create a website through Web Setup Project. Have you any idea about it?
hello deepakdynamite, Thanks for your reply. But i dont want create a website by manually. I want create a website through Web Setup Project. Have you any idea about it?
 
Share this answer
 
I want to create web site on iis in Web setup project to.
But Web setup project requires that specified TARGETSITE must exists in IIS.
So, how can i use custom action to create TARGETSITE? Instalation proccess will not start if specified TARGETSITE not created before.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900