Re: [WiX-users] How to compare strings from a Registrykey

2013-09-13 Thread Phill Hogland
True, my posts are incorrect in that the message is displayed only when the condition is FALSE. So just ignore my ramblings. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-compare-strings-from-a-Registrykey-tp7588946p7588953.html Sent from

Re: [WiX-users] How to compare strings from a Registrykey

2013-09-13 Thread David Watson
tions are not evaluated. See http://msdn.microsoft.com/en-us/library/windows/desktop/aa369752(v=vs.85).aspx -Original Message- From: sonhja [mailto:smol...@facephi.com] Sent: 13 September 2013 13:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to compare strings f

Re: [WiX-users] How to compare strings from a Registrykey

2013-09-13 Thread Phill Hogland
Also your original statement: $(var.myNumber)]]> is basically like saying: if (8) /* is basically if (TRUE) */ ShowEmergentWindow saying: "higher nu

Re: [WiX-users] How to compare strings from a Registrykey

2013-09-13 Thread Phill Hogland
Given the the code you presented, I think you want something like: $(var.myNumber)<[CHECKNUMBER] $(var.myNumber)>[CHECKNUMBER]

Re: [WiX-users] How to compare strings from a Registrykey

2013-09-13 Thread sonhja
Actually I feel lost understanding your code... I'm not sure if that's similar on what you made, as I want that code to run as a pre-install condition. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-compare-strings-from-a-Registrykey-tp7588

[WiX-users] How to compare strings from a Registrykey

2013-09-13 Thread sonhja
I'm trying to build a simple installer with *Wix* that does some staff due to a *RegistryValue* that I insert. I have a registry value called *Number* with a value of 10. ![enter image description here][1] I used a *string value* with *REG_SZ* type. With that, as far as I understand, my variable

Re: [WiX-users] How to compare strings from a Registrykey

2013-09-13 Thread Ralph
Look at this thread , I do something similar and I published some code. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble