Hi there

I have 3 Features in my install, System, Server and Client. The system
feature is installed with both and server and client and is always present.
Now i have a dialog with 2 button, server and client, now when i click
client i only want the client feature installed and when i click the server
button i only want the server feature installed.

So far i have put conditions on the featurs like this

Server Feature = 

<Feature Id="Server" Level="1" Title="Server">
      <ComponentRef Id="Server" />
      <Condition Level="0">CLIENTINSTALL</Condition>
    </Feature>

Client Feature = 

<Feature Id="Client" Level="1" Title="Client">
      <ComponentRef Id="Client" />
      <Condition Level="1">SERVERINSTALL</Condition>
    </Feature>

Now on the buttons that select either the client or server isntall i have a
publish that sets the clientinstall property, like this on the client
install button


<Publish Property="CLIENTINSTALL" Value="1"><![CDATA[1]]></Publish>

can anyone make any sense of this and help me out, i can get it so one of
the feature installs correctly but the other is always installed no matter
what, so i need to somehow disable and enable the istall on each button
making them oposite depending on which button is pressed.

Thanks Craig

-- 
View this message in context: 
http://www.nabble.com/Feature-Conditional-Install-tp16537222p16537222.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to