MUAccepted works just fine for enable and new dialog.

I had been hammering at that on no sleep last night and knew I just needed some 
fresh eyes who didn't want to pound their fists on their keyboards in 
frustration :)

Thanks a ton

-----Original Message-----
From: Andrew Lee [mailto:a...@solarflare.com] 
Sent: Tuesday, January 20, 2009 5:38 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Radio Button Both Evaluating to pass condition

Andrew Lee wrote:
> Your condition of MUAccepted = "yes" OR "no" is always going to
> evaluate as true.  Try an enable condition and new dialog condition of:
>    MUAccepted = "yes" OR MUAccepted = "no"
> or you might find it clearer to put:
>    (MUAccepted = "yes") OR (MUAccepted = "no")
>
> The parenthesis is unneccessary but it can often help with future
> maintenance as it makes the intended operator precedence explicit.
>
> Your disable condition probably wants to be:
>    <![CDATA[MUAccepted <> "yes" AND MUAccepted <> "no"]]>
> or:
>    <![CDATA[(MUAccepted <> "yes") AND (MUAccepted <> "no")]]>
> or, you may find the following might also work
>   NOT MUAccepted
P.S. And if that last one works you may find that your enable and new
dialog condition can simply be:
    MUAccepted

Regards,


Andrew

--
Andrew Lee                  Solarflare Communications
mailto:a...@solarflare.com  http://www.solarflare.com/


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to