jstuardo
Posts: 87
Joined: Mon Nov 09, 2015 10:44 pm

How to add registry entry in x86 node for x64 installer

Hello,

I have developed an Excel add-in compiled as a x64 bits DLL. So, I need it to be installed in "Program Files" folder, not "Program Files (x86)". I need also to add certain registry entry for the Add-in to be loaded.

Since installer is x64, it automatically adds the entry into WOW6432Node what is not what I need. Is there a way to add the entry to the x86 registry tree?

Thanks
Jaime
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: How to add registry entry in x86 node for x64 installer

Hello,
Since installer is x64, it automatically adds the entry into WOW6432Node what is not what I need. Is there a way to add the entry to the x86 registry tree?
Please note that WOW6432Node is the key for 32 bits application running under 64 bits operating systems.
You could choose if your registry value is a 64 bit one (and will not be installed under WOW6432Node) or a 32 bit one (and it will be installed under WOW6432Node) in the following way:
-go to "Registry" page and double click on your registry value. The Registry Value Dialog will be displayed
-check "Mark component as 64-bit" for the 64 bit registry location or uncheck this option if you want to install your value in WOW6432Node

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jstuardo
Posts: 87
Joined: Mon Nov 09, 2015 10:44 pm

Re: How to add registry entry in x86 node for x64 installer

If my application is 32 bits, but is installed in a 64 bits O.S. what should I do? automatically it will be added in WOW6432Node node?
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: How to add registry entry in x86 node for x64 installer

Hello,

Yes, the registry value will be added to WOW6432Node as long as the "Mark component as 64-bit" for the the registry value is unchecked.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”