Afaik not possible the way you are planing it. Just did a test with
modifying the NEXT button on a CustomizeDlg with following code:
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">
                    <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
                  <Condition Action="enable"><![CDATA[(&Feature1 >
2)]]></Condition>
                  <Condition Action="disable"><![CDATA[(&Feature1 <
3)]]></Condition>
</Control>

Right now it refreshes the button state when disabling the feature
click back and click next again. But this is not the desired behavior.
Reading the post here
See also http://forum.installsite.net/index.php?showtopic=2337

indicates that there seems no exacct solution to the problem. Add a
condition to the next button showing an error in case nothing was
selected and proceeding in case something was selected.

Regards
Tobias


2011/3/7 santhosh yalamuri <santhu_...@yahoo.co.in>:
> Hi,
>     I have a simple installer which has only one feature,I want the next 
> button to be disabled if "Entire feature will be unavailable" is selected in 
> a feature tree.
> Thanks
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to