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 / August 2004

Tip: Looking for answers? Try searching our database.

Web Project Install issues - help!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon - 27 Jul 2004 16:37 GMT
Can anyone help me with some issues when deploying Web Setup projects?

1) You can specify the relative virtual directory and port number but not
the website to install to. For instance if the IIS web server has 4 web
sites it will pick one (at random? but always the same one, and not always
c:\inetpub\wwwroot / 'default web site'!) and install there, regardless of
what port the site is on (even if a different port is changed which is
unique to another site, it will still install to this original site with the
wrong port number). To get around it we have to temporarily set this
'default' site's home directory to where we want to install, run the install
and then change it back - a far from ideal solution which probably messes up
the uninstall. Even being able to pick the physical path would be useful
(c:\inetpub\wwwroot etc.)

2) How do you create virtual directories NOT pointing to apps within the
install? We use a trick to create a virtual sub-directory to a common
(external) app to get around session issues and have some kind of
reuseability with a relative path. The common app is installed separately
but I can't see how to make a virtual directory to it in the installer
setup?

3) Nasty problem when building an install for multiple projects going into
subdirectories of the main application directory (also applies to non-web
projects). Basically it brings across dependant assemblies for the first
project, but only seems to bring across one dependent assembly for the
others!? This means we're having to make a separate install for each
project, which is going to be a nightmare to maintain. Is there a trick to
getting this to work properly?

4) On the subject of IIS(5), since I upgraded to XP, any manually created
virtual subdirectories dissapear from the IIS tree (though they are there as
trying to add it again reports that it is in use!) This didn't happen on
Win2K. Is there a fix for this bug? Its like it will only display the
originally created virtual directory (made when the VS project was created),
and not any newly created copies of it as subdirectories of another. I'm
using the wizard in IIS to create these 'pointer' directories. Here's an
example of what I mean -

Two asp.net web applications under the web root -

Default Web Site
   |-App1
   |-App2

Add a child virtual directory under App1 also pointing to App2 -

Default Web Site
   |-App1
   |    |-App2
   |-App2

The 'child' App2 dissapears in the IIS tree on XP! (These are also the
things I want to create in the install in item 2) btw)

Thanks,

Simon
Phil Wilson - 29 Jul 2004 21:48 GMT
I believe the algorithm is that it installs to the site that matches that
matches the port number, and if there are multiple sites there it chooses
the first active site it finds.

There are ways to create Virtual Directories using the IIS scripting
interfaces.
Signature

Phil Wilson [MVP Windows Installer]
----

> Can anyone help me with some issues when deploying Web Setup projects?
>
[quoted text clipped - 53 lines]
>
> Simon
Simon - 30 Jul 2004 15:55 GMT
hi Phil,

> I believe the algorithm is that it installs to the site that matches that
> matches the port number, and if there are multiple sites there it chooses
> the first active site it finds.

Hmm thats not too good but useful to know! Thing is I've set the port to 81
in the installer, hoping it would install to the only site with port 81
and it still installs to that same (wrong) site on port 80...

> There are ways to create Virtual Directories using the IIS scripting
> interfaces.
> --
So there's .NET classes to create virtual directories? Do you have any
pointers?

Simon

> Phil Wilson [MVP Windows Installer]
> ----
[quoted text clipped - 60 lines]
> >
> > Simon
Phil Wilson - 30 Jul 2004 19:11 GMT
This paper should help:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbtchUsingCustomActionsToModifyInternetInformationServerDuringDeployment.asp


Signature

Phil Wilson [MVP Windows Installer]
----

> hi Phil,
>
[quoted text clipped - 89 lines]
> > >
> > > Simon
Mikkel Faarup - 17 Aug 2004 07:47 GMT
Hi Phil and others

Is there a solution to the 4th. problem regarding the missing
assemblies.
I too have a large solution with a lot of sub-projects which dont get
their referenced assemblies copied to bin by the setup-project :o(
Only one instance of each assembly gets scattered around...

Any help appreciated!

BR
Mikkel

> This paper should help:
>
[quoted text clipped - 105 lines]
> > > >
> > > > Simon

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.