kkanjuh
Posts: 3
Joined: Thu Jan 11, 2024 2:59 pm

Force to write into WOW6432Node

Hi,

I need to install 64-bit application on 64-bit Windows target machine. This application is plugin for other application. In order for the respective application to load my plugin, it needs to have data in the WOW6432Node as well.

How should I make a configuration in the project to simultaneously write data to the registry for 64-bit (HKLM\Software\...) and 32-bit (HKLM\WOW6432Node\Software\...) applications?

In project I define registry entry for both HKLM\Software and HKLM\WOW6432Node\Software, but installation fill only one depends on If I choose that this is 32-bit package or 64-bit package.

Best regards,
Kruno
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Force to write into WOW6432Node

Hello Kruno and welcome to our forums,

If your entire package is marked as 64-bit in the "Install Parameters" page, if you want to create registry entries under WOW6432Node, you need to make sure that the component assigned to your registry values are not also 64-bit.
Screenshot_97.png
Screenshot_97.png (62.19 KiB) Viewed 29598 times

This will make the component be of 32-bit and therefore it will be automatically redirect under Wow6432Node:
Screenshot_98.png
Screenshot_98.png (78.1 KiB) Viewed 29598 times

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kkanjuh
Posts: 3
Joined: Thu Jan 11, 2024 2:59 pm

Re: Force to write into WOW6432Node

Hi,

I test this before and this work fine. Problem is that I need in same installation process to write registry entries on both places.
2024-01-11_17-15-31.png
2024-01-11_17-15-31.png (5.04 KiB) Viewed 29595 times
I tried in project under WOW6432Node add additional registry entries with same name (as shown above). I marked all entries like 64-bit. This does not help.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Force to write into WOW6432Node

Hello,

In order to achieve what you want, please have a look over the following forum thread which discusses the same scenario:

Install registry entries (both 32 & 64 bit)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kkanjuh
Posts: 3
Joined: Thu Jan 11, 2024 2:59 pm

Re: Force to write into WOW6432Node

Hi Catalin,

This solves my problem. Thank you!

Best regards,
Kruno
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Force to write into WOW6432Node

You are always welcome, Kruno!

Glad to hear everything is working as expected now.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”