Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-07-05 Thread Wang, Miaohsi
Hi David, Thanks for the information. I'm writing the registry data to HKLM\Software\Classes since the is a per machine installer. Thanks a lot, Miaohsi -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: Thursday, June 30, 2011 10:01 AM To: General discussion for

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-07-01 Thread Rob Hamflett
On 30/06/2011 18:01, David Watson wrote: 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

[WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Wang, Miaohsi
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

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread David Watson
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

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Jeremy Farrell
If you run a 32-bit MSI then its registry entries will be created under Wow6432Node automatically on 64-bit versions of Windows. This is an feature of how Windows emulates the 32-bit environment on 64-bit Windows, nothing to do with WiX or Windows Installer. From: Wang, Miaohsi

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Wang, Miaohsi
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 /

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Castro, Edwin G. (Hillsboro)
Are you certain you are creating an x86 msi package? Are you using a 32-bit process to view the contents of the registry? If yes, then the location looks exactly as it should. If you are certain that you are using a 64-bit process to view the contents of the registry then I would revisit the

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Wang, Miaohsi
Hi Edwin, 1. This is an x86 installer because it works on both x86 and x64 machines. 2. I was viewing the Registry on a x64 machine using Regedit.exe, and inside the Registry I could see HKLM\SOFTWARE\Wow6432Node. Is this enough to say that I was viewing the Registry using a 64-bit process?

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Castro, Edwin G. (Hillsboro)
You already have enough information. You need to check the what kind of package it is (check the Summary Information Stream). It is easy for anybody with administrative privileges to create HKLM:\SOFTWARE\Wow6432Node, even on an 32-bit system. That said, I think you are looking in the wrong

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Wilson, Phil
and running Regedit is not always going to give you the right answer because you run under your user account (a merge of other keys) giving you a virtual view of the registry for your account, which is David Watson's comment about is bad form to actually write to HKCR directly (its