I 'm trying to detect whether I have 64 or 32bit Win installed in order to set the reg key correctly for an URL handler.
I could have sworn my research said this would work: (They both run, even on my 32bit Win7 netbook.) <Component Id="SmartListW32RegShellOpenCommand32bit" Guid="726CF30C-BC18-45A1-BAB1-3EEF08B8C10A" KeyPath="yes"> <Condition> VersionNT64 >= 600 </Condition> <RegistryKey Id='SmartListW32RegShellOpenCommand32' Root='HKCR' Key='SmartList\Shell\open\command' Action='createAndRemoveOnUninstall'> <Permission User="Administrators" GenericAll="yes" /> <Permission User="Users" GenericAll="yes" /> <RegistryValue Type='string' Value='"C:\Program Files\SmartList\smartlistw32.exe" "%1"' /> </RegistryKey> </Component> <Component Id="SmartListW32RegShellOpenCommand64bit" Guid="9ADF87DE-D138-4AF1-ADE9-BDCB21736A0E" KeyPath="yes"> <Condition> VersionNT >= 600</Condition> <RegistryKey Id='SmartListW32RegShellOpenCommand64' Root='HKCR' Key='SmartList\Shell\open\command' Action='createAndRemoveOnUninstall'> <Permission User="Administrators" GenericAll="yes" /> <Permission User="Users" GenericAll="yes" /> <RegistryValue Type='string' Value='"C:\Program Files (x86)\SmartList\smartlistw32.exe" "%1"' /> </RegistryKey> </Component> Any ideas? -- I am using the free version of SPAMfighter. We are a community of 7 million users fighting spam. SPAMfighter has removed 102360 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len The Professional version does not have this message ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users