Wow6432Node - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

benhinman
Posts: 37
Joined: Wed Aug 06, 2008 7:50 am

Wow6432Node

Hi,

I am registering a 32-bit .NET DLL for com interop. More specifically, I am registering a Crystal UFL.

Under 32-bit operation systems, this all works well, with entries created under HKEY_CLASSES_ROOT\CLSID.

However, under 64-bit operating systems, this DLL registers under HKEY_CLASSES_ROOT\wow6432node\CLSID.

Whilst I believe that this is probably the correct behavior, I need to force the entry to appear under HKEY_CLASSES_ROOT\CLSID (the version of Crystal we use does not look in both places).

Is there anyway I can tell the installer to ensure this?

Thanks,
Ben
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Wow6432Node

Hi Ben,

The location of the registry entries is set by the package type. 32-bit packages install resources in 32-bit locations and 64-bit packages install resources in 64-bit locations. If you want to install the registry entries in the 64-bit location on a 64-bit system you can create a 64-bit or mixed 32-bit/64-bit package. Note that the package type can be set in the "Install Parameters" page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
benhinman
Posts: 37
Joined: Wed Aug 06, 2008 7:50 am

Re: Wow6432Node

Thanks for the quick reply.

Just one final question:

If I only wanted a single registry entry to show up in the 64-bit location, I take it I can simply mark that component as 64-bit instead of changing the package type?

If that is the case, from my limited testing I am guessing that this will install in the normal location on 32-bit machines...

Thanks for all the help,
Ben
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Wow6432Node

Hi Ben,
If I only wanted a single registry entry to show up in the 64-bit location, I take it I can simply mark that component as 64-bit instead of changing the package type?
If a component is marked as 64-bit, it will be installed in a 64-bit location. However, 64-bit components can be used only in 64-bit packages. Using this option in a 32-bit package will not change anything.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”