You will need two searches: one for the 32-bit and one for the 64-bit search.
-----Original Message----- From: Vishwajit Walke [mailto:vishwajit.wa...@matrikon.com] Sent: Wednesday, January 13, 2010 12:51 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to handle Registry Redirection through WIX on 64-bit Platform Hi, I'm facing issues while fetching the Installation Path of a 64-bit component through its Registry Entry on 64-bit Platform. Through WIX, when I'm searching for a particular registry key, because of registry redirection it is redirected to WOW6432node where registry keys doesn't exist. So, through WIX, is there any way to look into the 64-bit Registry View with only Single MSI creation? Here are some of my findings about the same : 1. A component must be marked as Win64="yes" in order to cause registry entries to be written under the 64-bit registry hive instead of the WOW64 registry hive. 2. Refer http://stackoverflow.com/questions/1838009/platform-identification-in-wix-3- 0 , telling that we can use the Condition statement (documentation here<http://wix.sourceforge.net/manual-wix2/wix%5Fxsd%5Fcondition.htm>) which will detect at install time which platform the installer is running on. This allows you to create just one installer which will work on all platforms. The test for 64bit platform is VersionNT64 and conversely the test for non 64bit platforms is NOT VersionNT64 For example: <Component Id="SomeComponentId" Guid="SomeGuid"> <Condition> <![CDATA[NOT(VersionNT64)]]> <Condition> <File Id="SomeFile" Name="Somefile.exe" Source="$(var.UI.TargetDir)\ProjectOutput.exe" /> </Component> ________________________________ READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com. ---------------------------------------------------------------------------- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users