marcelo
Posts: 103
Joined: Fri Sep 28, 2007 2:07 pm

HOW TO: New /Codebase option on interop registration

Hi I just upgraded to 6.4 and I was reading the bug and improvment list and I found something that would be very usefull for me:

* COM interoperability registration feature can now use "/codebase" parameter for .Net assemblies that support it

My question is, how do I use it? I went to my assemblies on the Assemblies tab and I dont see any option that could lead in to that result?


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

Re: HOW TO: New /Codebase option on interop registration

Hi Marcelo,

Please note that this parameter is used automatically by Advanced Installer when you use the "Register .Net assembly for COM interoperability" option in the "Auto register file" section of the Properties tab in the "Edit File" dialog. Note that this parameter will not be used if you register the assembly into the GAC through the Assemblies page.

Therefore, in order to use this feature you can follow these steps:
- add the assembly in the "Files and Folders" page
- double-click it in order to show the "Edit File" dialog
- enable the "Auto register file (DLL, OCX, etc.)" checkbox
- select the "Register .Net assembly for COM interoperability" option
- do not configure this assembly to be installed in the GAC

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

Return to “Common Problems”