Is there any documentation about the expression syntax and evaluation of 
conditions in Burn?

I found, that comparison of empty strings "" does not behave as expected. Is 
this the intended behaviour?
Using WiX 3.8.1128 the EvaluateCondition method returns the following values 
for "" op "" (where op is the operator):

        Real    Expected
<       False   False
>       True    False
<=      False   True
>=      True    True
=       False   True
<>      True    False
~<      False   False
~>      True    False
~<=     False   True
~>=     True    True
~=      False   True
~<>     True    False

I dug a bit into the code and suspect that CompareStringW does not handle empty 
strings but my Google searches provided no information whether it does or not.
I'm not very well versed with unmanaged code so this might as well be wrong.
For now I have a workaround for my use case, but I wanted to know if this was a 
bug or not.

Greetings Tobias


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to