Re: [WiX-users] How to get the condition in a control right?

2009-06-19 Thread Pally Sandher
Try the following: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) Publish Event=NewDialog Value=[WixUI_ConfigSFSDlg_Next]1/Publish Condition Action=disable![CDATA[(SFSPASSWORD SFSPASSWORD2) OR (SFSENVIRONMENT = )]]/Condition /Control It

Re: [WiX-users] How to get the condition in a control right?

2009-06-19 Thread Jirong Hu
The following works. Thank you very much for your help. Condition Action=disable![CDATA[(SFSPASSWORD SFSPASSWORD2) OR (SFSENVIRONMENT = )]]/Condition Condition Action=enable![CDATA[(SFSPASSWORD = SFSPASSWORD2) AND (SFSENVIRONMENT )]]/Condition -Original Message-

[WiX-users] How to get the condition in a control right?

2009-06-18 Thread Jirong Hu
Hi For this dialog, I want to diable the Next button when either password doesn't match or ComboBox has no value selected. But the following code doesn't check the value of ComboBox. How to fix this? Thanks Jirong Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17

Re: [WiX-users] How to get the condition in a control right?

2009-06-18 Thread Bob Arnson
Jirong Hu wrote: Condition Action=disable![CDATA[SFSPASSWORD SFSPASSWORD2]]/Condition Condition Action=disable![CDATA[SFSENVIRONMENT = ]]/Condition Try combining the conditions into one