Registering a Dll on a 64bit System - Advanced Installer Community
dcm2015
Posts: 1
Joined: Mon Aug 31, 2015 5:56 pm

Registering a Dll on a 64bit System

Hello,

recently I tried to register a Dll via the Advanced Installer on a 64bit System (Windows7).
The package-type of the installer itself is a “64-bit package for x64processors”.
Also the Dll is a .NET Dll. So I used the “Auto register file” and “Register .Net assembly…” option to register it.
I tried it with an AnyCPU-Dll and a x64-Dll.
After the installation I checked the registry, because the installed software couldn’t find the registered Dlls.
The Dlls were registered but only on the 32bit-context (Wow6432Node) was an reference to the registered source-dll:
On Computer\HKEY_Class[...]\Dllname\CLSID with Name Standard and the Value was the folder in the registry( f.e. 47C23847AD784-95AD-3AK4[...])

If I registered the dll via cmd and RegAsm.exe it worked fine.

Is there an explanation for this behaviour or it is a bug?

Your sincerly
dcm2015
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Registering a Dll on a 64bit System

Hi and welcome to Advanced Installer forums,

I'm not sure why you encountered this behaviour.

Can you please send us the related .dll and its dependencies so we can test this on our end and further investigate? If it contains confidential information you can send us a small test project which reproduce this behavior.

By the way, can you please tell us if it makes any difference if you enable the 64-bit component option for the component that has been assigned to the related .dll file?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Registering a Dll on a 64bit System

Dan,

In a merge module if I mark the 64-bit DLL as a "64-bit component" and select "Register .Net assembly for COM Interoperability" will AI find the 64-bit Regasm tool even though in External Tools I've got "Regasm.exe" pointed to the 32-bit Regasm?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.

Return to “Common Problems”