Thank you, sir.  That's what I needed to know.

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Monday, January 19, 2009 6:34 PM
To: General discussion for Windows Installer XML toolset.
Subject: [LIKELY_SPAM]Re: [WiX-users] 64-bit vs. 32-bit Vista Registry
writing trouble

Skip Sailors wrote:
> <Component Id="ComponentRegistry" Guid="yada-yada-blah-blah-blah">
>
>                                 <RegistryKey Id="RegistrationFile"
> Root="HKLM" Key="Software\Classes\Wow6432Node\CLSID\{
> yada-yada-blah-blah-blah }" Action="createAndRemoveOnUninstall">
>   

It's not normally necessary to specify that registry keys should get 
created explicitly in Wow6432Node; instead, use a 32-bit component 
(@Win64="no") and use HKCR as the Root. MSI writes HKCR keys to the 
right place, based on the component's bitness.

And you can use a preprocessor variable for the Win64 attribute value, 
so you can use the same authoring in both packages.

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to