rzwierz
Posts: 43
Joined: Thu Apr 19, 2007 5:23 pm

Registry keys created under WOW6432Node on x64 Vista

Hi,

I am creating an installer for 64bit application which is to be installed on 64bit Vista. The installer has to create some registry keys. The problem is that during the installation the registry keys are created under HKLM\Software\Wow6432Node rather than directly under HKLM\Software.

Wow6432Node key is a place where 32 bit applications store their settings and a 64bit application has no access to it. My guess is that action that puts things into registry is a 32bit app, and that what is causing problems. My questions are:

- Am I missing something obvious what stops my installer from putting registry keys directly under HKLM\Software?

- If the answer to the first question is no, then could you suggest a workaround this problem?

Thanks so much in advance,
Rafal
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Rafal,

In the "Organization" page mark the component associated with the registry key as a "64-bit Component".

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
rzwierz
Posts: 43
Joined: Thu Apr 19, 2007 5:23 pm

Hi Gigi,

That worked. Thank you. I am really happy that it was merely my mistake.

Best wishes,
Rafal
jtroyan
Posts: 20
Joined: Mon Oct 19, 2009 9:41 pm

Re: Registry keys created under WOW6432Node on x64 Vista

If I import 60 or so reg settings that are going on a 64bit machine, does that mean I have to do this for every key value those settings may have? If so, that seems rather counter productive to the Import feature of the registry page. Could you all put an enhancement item in, that would allow during the reg import, to mark that key as 64 bit?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Registry keys created under WOW6432Node on x64 Vista

Hello,

Unfortunately this feature is not yet available.
Could you all put an enhancement item in, that would allow during the reg import, to mark that key as 64 bit?
Thank you for your suggestion. We have added this improvement on our TODO list and will be available in a future version of Advanced Installer.

In the meantime you could select each component and press F4 to be added in the Search Result list. Then right click on it from the Search Result list and choose "Select->All with the same type". Then right click->Properties and mark your selected items as 64-bit.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
XXL66
Posts: 17
Joined: Mon Apr 28, 2008 3:00 pm

Re: Registry keys created under WOW6432Node on x64 Vista

Hi,

i have a question about this problem. What happens when this component is marked as a 64 bit component and you install it in a 32 bit machine ?
Will it be installed under HKLM\Software or another key ?

ty !
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Registry keys created under WOW6432Node on x64 Vista

Hi,

The 64-bit component flag is ignored by 32-bit packages, so the component will use the normal location on a 32-bit machine.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
InnovRick
Posts: 9
Joined: Wed May 22, 2013 4:16 pm

Re: Registry keys created under WOW6432Node on x64 Vista

Hi,

Our whole MSI creation process is automated which means we cannot use the "Organization" page to mark the components as 64-bit, and even if we could, the sheer number of components we would have to mark would make it inconceivable to mark each individually.

Our registry keys are imported using the "ImportRegFile" command. When our projects are defined as being 64-bit (PackageType x64), it seems to me that the keys should automatically be marked as 64-bit components, no? At the very least, having a command line switch to specify "x64" when importing the registry file would solve our problem. This solution is mentioned as having been added to your TODO list in October 2009, but I do not see this feature in the current version of AI. Correct me if I'm wrong, but as it stands now, the only way to accomplish what we want in an automated manner would be to modify the .aip file after importing the registry file.

Please let me know if you guys plan on correcting this issue in the near future so we don't have to code a workaround in our automated process.

Thank you,

Eric
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registry keys created under WOW6432Node on x64 Vista

Hello Eric,

I increased the priority of this improvement and hopefully it will be available soon. Also, I'm afraid I cannot give you an ETA for this improvement at the moment. I'll let you know when this improvement will be available.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registry keys created under WOW6432Node on x64 Vista

Hello,

This improvement was added in version 10.5 of Advanced Installer released on September 02, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”