Hi Peter,

 i am also trying to achieve something like this could you share how you did
that. 

I have two controls in my Dialog. Push Button and Edit box. What i want to
do is, to enable the Push Button only if there is some text entered in edit
box. Like having a Required edit box in your dialog box.

So Condition i have on Push Button control is like this:-

<Control Id="Install" Type="PushButton" ElevationShield="yes" X="236"
Y="243" Width="56" Height="17" Default="yes" Hidden="yes" Disabled="yes"
Text="!(loc.VerifyReadyDlgInstall)">
          <Condition Action="enable">NOT Installed AND <![CDATA[SQLSERVER <>
" "]]> </Condition>
          <Condition Action="default">NOT Installed</Condition>
</Control>

and in above case Property SQLSERVER is initialized with " ". but it still
does noe evaluates this condition. 

then i tried condition as you tried having not initialized the property(no
value).

          <Condition Action="enable">NOT Installed AND (NOT
SQLSERVERNAME)</Condition>

Still same problem .

Could you share , or tell me how can i do this....
Thanks






Peter G. Sakhno wrote:
> 
> Sorry, Ignore it.
> 
> I found the bug.
> This condition is used inside MSM and WiX appends MSM guid to the 
> property name.
> 
> Best regards,
> Peter G. Sakhno
> C-MAP RUSSIA Ltd
> http://www.c-map.ru/
> 
> Peter G. Sakhno wrote:
>> I use following condition string:
>> 
>> PROP_1="YES" AND (NOT PROP_2)
>> 
>> And when PROP_1 is "YES" and PROP_2 is not defined MSI logs that 
>> condition is FALSE... WHY!?
>> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/%22NOT%22-for-undefined-property-in-condition-does-not-work.-Why%21--tp695593p1142528.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to