Hello everyone,

I know this has been covered before...

And I have read the posts at: 

http://www.nabble.com/Disabling-Next-if-no-features-selected-tf2333818.h
tml#a6493541
http://www.nabble.com/Disabling-the-next-button-in-a-feature-tree-dialog
-when-no-features-are-selected-tf2333648.html#a6492891


Bob Arson replies to the first one with:  "Summary: I don't think it's
possible. You'd certainly have to modify the dialog even if it were."


Well, I am using a  modified version of the CustomizeDlg.wxs file and it
is still not working...

If it doesn't work, then I guess I will have to accept that. But:

1.      Is it actually a Microsoft Bug or a Wix Bug? I have seen the
same thing in other installers (I tried a few others to test).

2.      Why does the Browse button and the Selection Path  properly
respond turning a feature  on and off?

3.      Why  when I de-select ALL features and go to Disk Usage (That
should probably turn off also), does it still report that space is
needed in the "Required " column.?
                
        I even get a log entry of : MSI (c) (2C:54) [13:42:16:104]:
PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedCost property. Its
current value is '12330'. Its new value: '0'.





If you care to look, here are the conditions that I added to my Modified
CustomizeDlg:

<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">
                    <Subscribe Event="SelectionNoItems"
Attribute="Disabled" />
                    <Condition Action="disable"><![CDATA[(&f1 = 2) AND
(&f2 = 2) AND (&f3 = 2)]]></Condition>
                    <Condition Action="enable"><![CDATA[(&f1 > 2) OR
(&f2 > 2) OR (&f3 > 2)]]></Condition>
                </Control>


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to