Hi David,
Thank you for the information. Below is my component definition:
<Component Id="ClientOnlyInstallRegistryData"
Guid="{AC00CCB7-73F2-4520-984F-4BEAF3B2A063}" KeyPath="yes"
SharedDllRefCount="no" >
<RegistryKey Id="Registry1" Key="RTServerRM_6.0" Root="HKCR"
Action="createAndRemoveOnUninstall" />
<RegistryKey Id="Registry2" Key="Software\Classes\RTServerRM_6.0" Root="HKLM"
Action="createAndRemoveOnUninstall" />
</Component>
As you can see Registry1 is targeted for HKCR and Registry2 for HKLM. As a
result of the installation, "RTServerRM_6.0" is created right under HKCR and
the same key is also created right under HKLM\Software\Classes, not under
HKLM\Software\Classes\Wow6432Node as desired.
Your help will be greatly appreciated.
Thanks,
Miaohsi
-----Original Message-----
From: David Watson [mailto:[email protected]]
Sent: Thursday, June 30, 2011 10:01 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Can an x86 msi create a registry key under
HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?
32 bit (x86) installers can indeed write to wow6432nodes and do so by by
default.
Specify the key you wish to write to and omit Wow6432Node as they will be
redirected there automatically.
http://wix.sourceforge.net/manual-wix3/write_a_registry_entry.htm
Its also worth noting that Microsoft say it is bad form to actually write to
HKCR directly (its behaviour depends on the environment) so for per machine
installs you should install to HKLM\Software\Classes and
HKCU\Software\Classes for per user installs.
http://msdn.microsoft.com/en-us/library/ms724475(VS.85).aspx
-----Original Message-----
From: Wang, Miaohsi [mailto:[email protected]]
Sent: 30 June 2011 16:35
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Can an x86 msi create a registry key under
HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?
Dear All,
I have an x86 installer which needs to create a registry key under
HKEY_CLASSES_ROOT\Wow6432Node on 64-bit machines. I created a component to do
the task. The component installs fine but does not create the key on x64
systems. Is there a way to accomplish this with WiX? Your help will be
greatly appreciated.
Thanks a lot,
Miaohsi
*** Confidentiality Notice: This e-mail, including any associated or attached
files, is intended solely for the individual or entity to which it is
addressed. This e-mail is confidential and may well also be legally
privileged. If you have received it in error, you are on notice of its
status. Please notify the sender immediately by reply e-mail and then delete
this message from your system. Please do not copy it or use it for any
purposes, or disclose its contents to any other person. This email comes from
a division of the Invensys Group, owned by Invensys plc, which is a company
registered in England and Wales with its registered office at 3rd Floor, 40
Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of
European legal entities within the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.
You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
[email protected]. This e-mail and any attachments thereto may be
subject to the terms of any agreements between Invensys (and/or its
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and
affiliates).
-----------------------------------------------------------------------------
-
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY,
UK.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
*** Confidentiality Notice: This e-mail, including any associated or attached
files, is intended solely for the individual or entity to which it is
addressed. This e-mail is confidential and may well also be legally privileged.
If you have received it in error, you are on notice of its status. Please
notify the sender immediately by reply e-mail and then delete this message from
your system. Please do not copy it or use it for any purposes, or disclose its
contents to any other person. This email comes from a division of the Invensys
Group, owned by Invensys plc, which is a company registered in England and
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X
7AW (Registered number 166023). For a list of European legal entities within
the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.
You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
[email protected]. This e-mail and any attachments thereto may be subject
to the terms of any agreements between Invensys (and/or its subsidiaries and
affiliates) and the recipient (and/or its subsidiaries and affiliates).
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users