I do not use the Result attribute, but other than that I do use Win64=$(var.Win64) for two util:RegistrySearch elements. One returns an Install Location, and one returns and integer. Both work fine.
The installer/bootstrapper is re-compiled each time depending on whether it is x64 or x86. -- 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: dirt [mailto:d...@awoms.com] Sent: Friday, March 21, 2014 8:19 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] util:RegistrySearch “Registry key not found” when using variable inside Win64=“$(var.Win64)” <util:RegistrySearch does not find registry keys when using a variable for yes/no for example: Win64="$(var.Win64)". It works as expected if I use the string yes/no instead of the variable for example: Win64="yes". The var.Win64 is set to yes/no via a build script which prompts us for which OS to build for. The logs show it is being set to yes properly before DetectBegin. Full question with code/logs: http://stackoverflow.com/questions/22559113/utilregistrysearch-registry-key-not-found-when-using-variable-inside-win64 Am I doing something wrong? Thanks, -dirt -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/util-RegistrySearch-Registry-key-not-found-when-using-variable-inside-Win64-var-Win64-tp7593659.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ 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. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users