Re: How to choose virtual server in Web Setup Project?
From: Simon Storr (spam_at_spam.com)
Date: 03/29/04
- Next message: Phil Wilson: "Re: How to upgrade an existing installation"
- Previous message: Jon Skeet [C# MVP]: "Re: .NET applications not portable ?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Mar 2004 15:19:01 +0100
I have a similar problem in that I have a 'common' web folder used by
multiple web apps, but I'm 'tricking' IIS into thinking its one big app
using virtual sub-directories pointing to this common folder (lets me use a
common CSS style*** and have a common directory for images etc.).. For
example -
Main App (in say c:\inetpub\wwwroot\main, virtual directory '\main')
\__ Child App (actually in c:\inetpub\wwwroot\child, but I want the
virtual dir to be '\main\child' rather than '\child' if that makes sense)
The web setup app seems to force the virtual directories to map to the same
physical location. You can't change the virtual path of subfolders :o(. Is
there a way to implement this?
Thanks,
Simon
"Mike Wade [MSFT]" <mwade@online.microsoft.com> wrote in message
news:gjX7oYl%23DHA.744@cpmsftngxa06.phx.gbl...
> The web setup will be installed to a site which matches the specified
port. If there are multiple sites on that port, the
> web setup will choose the first active site that it finds. Unfortunately,
your only options (short of writing your own
> custom actions to perform the task for you) are to move the other sites to
a different port, or shut the others off.
>
>
> --
> Mike Wade, VB Team
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> --------------------
> >From: "Matthew Belk" <mbelk@bizspeed.com>
> >Subject: How to choose virtual server in Web Setup Project?
> >Date: Fri, 20 Feb 2004 11:14:46 -0500
> >
> >I am trying to figure out how to allow the user to select on which
virtual
> >server to install an ASP.NET web application. It seems like the default
> >behavior for the web setup projects is just to install to the first
virtual
> >server in the list. How can I intercept that and change it?
> >
> >Ideally, I would like the user to be able to specify a base url
> >(http://site.domain.com) in the installation routine, and have the
installer
> >install the web app to that particular virtual server.
> >
> >Any help would be appreciated.
> >
> >Thanks,
> >Matthew Belk
> >www.bizspeed.com
> >
> >
> >
>
>
>
>
- Next message: Phil Wilson: "Re: How to upgrade an existing installation"
- Previous message: Jon Skeet [C# MVP]: "Re: .NET applications not portable ?"
- Messages sorted by: [ date ] [ thread ]