Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / July 2005

Tip: Looking for answers? Try searching our database.

How to specify the Target Web Site in Web Setup projects?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rb531 - 09 Jul 2005 00:54 GMT
The server where I want to install my website has more than one 'root'
website in IIS - "Default web site" and another website. Both use port 80.

When Windows installer runs, it prompts the user only for the virtual
directory name and port number. It does not install the site under "Default
web site" but under the other web site (presumably, because the other site's
name starts with "a", and it finds this first). This despite the other
website being inactive.

I want the website to be installed under "Default web site" (or
alternatively, in its own root), but I don't see any way of forcing this in
the .NET Web setup project or providing the user with a dialog to specify the
target web site.

I tried altering the setting of the Web application folder's IsApplication
property (which specifies whether an IIS root will be created), but it
installed the web site in the same place as before.

Thanks in advance for any suggestions.
Phil Wilson - 15 Jul 2005 18:52 GMT
I don't believe there's a way to specify the exact web site that gets
chosen. The algorithm is that installs to the web site that matches your
port number. If there are multiple sites, it chooses the first active site
it finds (but it's not clear to me how "first" is derived).
Signature

Phil Wilson [MVP Windows Installer]
----

> The server where I want to install my website has more than one 'root'
> website in IIS - "Default web site" and another website. Both use port 80.
[quoted text clipped - 19 lines]
>
> Thanks in advance for any suggestions.
Todd Derksen [MSFT] - 19 Jul 2005 19:32 GMT
The ability to choose which website has been added to Visual Studio 2005
the Beta is available.

Thanks

Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Phil Wilson" <Phil.Wilson@unisys.spamcom>
>References: <0518EACB-B400-4891-B084-49FB0294B207@microsoft.com>
[quoted text clipped - 40 lines]
>>
>> Thanks in advance for any suggestions.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.