I have these components in Feature 1. What I am trying to do is if only
feature1 is selected the website is the home directory of the default
web site on IIS, if feature 2 is selected as well the website isn't the
home directory on IIS. However the first case is always being evaluated
as true even if Feature 2 was selected. Am I doing something wrong?
<Component Id='WebFeature1'
Guid='345c09f9-f760-4700-89da-12f1a1cbf08c' KeyPath="yes" DiskId="1">
<Condition><![CDATA[(&Feature2<>3)]]></Condition>
<CreateFolder />
<WebSite Id='DefaultWebSite WebFeature1'
Directory="WebDir" Description='Default Web Site'
AutoStart="yes" ConfigureIfExists="yes"
StartOnInstall="yes" Sequence="-1" >
<WebAddress Id='AllUnassigned' Port='80' />
<WebVirtualDir Id='WebVirtualDirWebFeature1'
DirProperties="WebDirProp" Directory='WebDir' Alias='MyWebSite'>
<WebApplication Id="WebApplication Feature1"
ParentPaths="default" Name="VBTAdminConsole" />
</WebVirtualDir>
</WebSite>
</Component>
<Component Id='WebFeature2'
Guid='0BBCE421-BC25-46cc-8A86-3F9EAEF4A839'>
<Condition><![CDATA[(&Feature2=3)]]></Condition>
<CreateFolder />
<WebVirtualDir Id=' WebVirtualDirWebFeature2'
DirProperties="WebDirProp" Directory='WebAdminConsoleDir' Alias='
MyWebSite ' WebSite='DefaultWebSiteRoot'>
<WebApplication Id=" WebApplicationFeature2"
ParentPaths="default" Name=" MyWebSite " />
</WebVirtualDir>
</Component>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users