You can try this also: ( literals wrapped in quotes "
TESTPROP>"#0" ( Might have to do some XML escaping )
I seem to recall something about strange unexpected behavior on the
comparisons but it's escaping me what it was at the moment if it exists at all.
Neil Enns <[EMAIL PROTECTED]> wrote:
I guess thatll work, but wow, theres no way to do an integer
greater than?
Neil
From: Christopher Painter [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 2:51 PM
To: Neil Enns; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Comparing result of a dword RegistrySearch to a number?
Assuming TESTPROP as the property assigned by Appsearch, try:
TESTPROP and Not TESTPROP="#0"
This should make sure that the property has data and that it isn't 0. Due
to the nature of dwords, this should work.
Neil Enns <[EMAIL PROTECTED]> wrote:
Ok, theres gotta be something obvious Im missing here. How do I compare
the result of a RegistrySearch for a dword against a number? I need to make
sure the number returned is greater than or equal to 1, but it has the pesky
# in front of it so a straight MYVARIABLE >= 1 in the condition fails.
Thanks,
Neil
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users