Okay, I had a feeling that this would be the case, but after some time searching no definite statement turned up. (Also msi has no specific handling of version values like burn does)
-----Ursprüngliche Nachricht----- Von: John Cooper [mailto:jocoo...@jackhenry.com] Gesendet: Dienstag, 4. Februar 2014 15:45 An: General discussion about the WiX toolset. Betreff: Re: [WiX-users] Burn condition syntax and evaluation Yes. See http://msdn.microsoft.com/en-us/library/aa368012.aspx WiX conditions follow the MSI syntax. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Tobias Weigt [mailto:t.we...@datam.de] Sent: Tuesday, February 4, 2014 8:18 AM To: WiX Users Subject: [WiX-users] Burn condition syntax and evaluation 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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