Hey Chris,

I am going to go out on a limb with this one and say that you could put each
in an individual Component and the condition each Component according to
your needs. Although I haven't done this in creating websites or adding to
one, I have done this for different versions of IIS.

I think if you name the Id for your IIS site different and reference
accordingly you might be able to achive what you are looking for.

Hope that helps,--
Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com

On Mon, Aug 4, 2008 at 4:57 PM, Chris Timms <[EMAIL PROTECTED]> wrote:

> I want to give the user the choice of deploying a web app to an existing
> website or to create a new website.
>
>
>
> All the examples I've seen do one or the other but not both.
>
>
>
>
>
> 1)         After reading the documentation on the IIS extension, am I
> right in thinking that I will require 2 website elements:
>
> a)         one within a component to create a new website
>
> b)         a locator to select an existing website
>
> with a condition on the component to only install if the user chooses to
> install a new web site
>
>
>
> 2)         Will I need to specify 2 WebVirtualDir's as separate
> components: one referring to the new web site
>            and one referring to the existing web site, with suitable
> conditions on each, or is there a way to
>            dynamically set the website id attribute at install time,
> e.g. through a property?
>
>
>
> 3)         Will the locator search (for the existing website) still get
> fired if its website/@id is not referenced
>            during the install (i.e. if the user selected new web site)
>
>
>
> I'm using Wix V3 (3.0.4227.0)
>
>
>
> Chris
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to