You can do string comparisons, eg. REGVAL >= "#12300" but of course it will be a bit brittle. If your expected values are say, 11200 through 99999 then it's probably fine, but once it reaches "100000" then there will be problems :)
Kevin Palmer wrote > Hi, > > I've searched and cannot find a suitable solution to this problem. > > When performing a > <RegistrySearch> > a REG_DWORD property is read back as a string containing the value > prefixed with a # (i.e. #12345) > > It doesn't appear that you can then use that property in a numeric > condition (i.e. REGVAL >= 12300) due to the prefixed # character. > > Does anyone know how this can be achieved... I realise that I could > probably do it in a custom action, it just seems crazy why it wouldn't be > possible 'out of the box' so to speak. > > Many Thanks, > > Kevin Palmer > This e-mail is confidential and may be privileged and is intended solely > for the use of the individual or entity to who it is addressed. It may be > read, disseminated, forwarded, printed, copied and used only by the > intended recipient.If you have received this email in error, please > contact the sender immediately by return e-mail or by telephoning +44 (0) > 1202 241115. Please then delete this email and do not disclose its > contents to any person. > > Internet communications are not secure and therefore Orbis Software does > not accept legal responsibility for the safety or contents of this message > and any attachment. No liability is accepted for any consequences arising > from it. Orbis Software does not authorise any contract to be made using > the internet. Any views or opinions presented are solely those of the > author and do not necessarily represent those of Orbis Software unless > otherwise specifically stated. > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > WiX-users mailing list > WiX-users@.sourceforge > https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LaunchConditions-on-a-REG-DWORD-returned-from-a-RegistrySearch-tp7598850p7598857.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users