sonda
Posts: 101
Joined: Mon Apr 30, 2018 12:01 pm

32 Bit package vs 64 bit package

Hello

I have some dilemma with 32 bit package installer and 64 bit package installer:


If i have 32 bit package installer:
01.jpg
01.jpg (83.6 KiB) Viewed 5180 times
And i have registry entry in HKLM\Software\Manufacturer\ProductName\Settings
02_.jpg
02_.jpg (96.43 KiB) Viewed 5180 times

And i install on x64 bit machine where this registry will be created? In HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Manufacturer\ProductName\Settings ??

and what if need to create search for registry, where will i need to point to?
03.jpg
03.jpg (109.96 KiB) Viewed 5180 times
And what will happen with all this configuration if i only change package to be 64bit?

will search work or i will ned to set Search the 64-bit portion of the registry??
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: 32 Bit package vs 64 bit package

Hello,

That is called a registry redirection (it can happen to files, too, hence the "Program Files (x86)" folder).

Basically, a 32-bit process on a 64-bit machine will redirect its resources in the 64-bit portion of the OS so the OS knows to better manage them.

These resources can be either registry entries, files, etc.

In your case, if you create a search, it will automatically look under WOW6432Node unless you check the "Search the 64-bit portion of the registry" option.
Screenshot_100.png
Screenshot_100.png (16.61 KiB) Viewed 5180 times

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sonda
Posts: 101
Joined: Mon Apr 30, 2018 12:01 pm

Re: 32 Bit package vs 64 bit package

Thanks for the fast reply, but what will happened with all configuration only if i change installer to 64 bit package, then will be search in WOW6432Node or not? should i enable Search the 64 bit portion of the registry or not? because now i will run 64 bit package?

Regards
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: 32 Bit package vs 64 bit package

Hello,

If you change your package type to 64-bit, then the searches will no longer be redirected under WOW6432Node, so no, enabling that option is not needed anymore.

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

Return to “Building Installers”