Auto Registration and VB2005 AxInterop DLLs - 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!

rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

Auto Registration and VB2005 AxInterop DLLs

What exactly does the message "The selected file cannot be registered" mean? Does it mean that it is not a COM object and so cannot be registered or does it mean it is already registered or something else entirely?

Also, what about VB2005 AxInterop objects such as AxInterop.ComCtl3.dll which were added to support VB6 upgrades? Do these need registering? How should they be handled?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In order to register a file using that method the DLL should export the "DllRegisterServer" function:
http://www.advancedinstaller.com/user-g ... ialog.html

What I think is that the file AxInterop.ComCtl3.dll is an assembly and you need to add it in the "Assemblies" page:
http://www.advancedinstaller.com/user-g ... blies.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

Gigi,

Thanks for the quick reply. One more thing: Are the assemblies to be included in the files as well as added as assemblies? I would guess not, but want to be sure. Where are they actually stored on the target computer?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Are the assemblies to be included in the files as well as added as assemblies? I would guess not, but want to be sure
We have this feature on our TODO list (Install the Assemblies in both destinations GAC and private location) and will be available in a future version of Advanced Installer. I cannot give an ETA for now.

Until then I would suggest adding the assembly twice. Once with "Destination" set to "Install in Global Assembly Cache" and second with "Destination" set to "Private Install To".

This also involves including the assembly twice in the "Files and Folders" page in different folders.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”