Never mind--caught the typo--too much cut/paste late last night...
<Component Id="SmartListW32RegShellOpenCommand32bit"
Guid="726CF30C-BC18-45A1-BAB1-3EEF08B8C10A" KeyPath="yes">
<Condition> VersionNT64 >= 600 </Condition>
Should be
<Component Id="SmartListW32RegShellOpenCommand32bit"
Guid="726CF30C-BC18-45A1-BAB1-3EEF08B8C10A" KeyPath="yes">
<Condition> VersionNT >= 600 </Condition>
-----Original Message-----
From: Rick Hantz (Hotmail) [mailto:[email protected]]
Sent: Monday, March 12, 2012 3:44 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] condition problem
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users