Hi,

I'm pretty new at this WiX stuff, so I apologize if I just haven't read
the right help documentation yet.  I have an installation project (in
WiX 2.0, we'll be moving to 3.0 soon enough but not yet) with two
features and a feature tree dialog.  During installation, I would love
to have something like:

<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="$(loc.WixUINext)">
    <Publish Event="NewDialog" Value="[FeatureTree.Next]">1</Publish>
    <Condition Action="enable"><![CDATA[(&Feature1 > 2) OR (&Feature2 >
2)]]></Condition>
    <Condition Action="disable"><![CDATA[NOT ((&Feature1 > 2) OR
(&Feature2 > 2))]]></Condition>
</Control>

Although the logic seems to be ok, it doesn't dynamically update the
conditions like radio buttons or checkboxes(?) do.  I understand that I
could add <Subscribe Event="SelectionNoItems" Attribute="Enabled" />,
but this seems to only disable the button if there are no features in
the tree (which I know won't be the case).

Am I missing something or should I simply use checkboxes/radio buttons?
If it's not supported in 2.0 and it is in 3.0, I'd be interested in
hearing that as well. 

Thanks!

-Jason


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to