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!

kjullion
Posts: 176
Joined: Mon Nov 11, 2013 9:02 pm

COM visible asssembly...

We have developed a .NET assembly that needs to be available/visible to both COM (VB6) clients and .NET clients. The assembly is built and seems to be functioning well, but I am not sure what are the best practices and AI methods for deploying that assembly. For now I only need to deploy it within my organization for further testing, but eventually the assembly should be included as part of our main application's installation package.

For example, should I call "gacutil.exe" to register it in the GAC for .NET clients, and call "regasm.exe /tlb /codebase" etc. to ensure that COM clients can "see" the assembly?

Is there a tutorial or how-to that deals specifically with this topic?

Thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: COM visible asssembly...

Hello,

If you want to register your assemblies you can add them in the Assemblies Page.

For COM Interoperability you can enable the Auto rebister file (DLL, OCX, etc) option and select the Register .Net assembly for COM Interoperability from the Registration Tab. The available Synchronization options are:
  • Disable - Registration data is read from the file only once and stored, if the file will change the registration data will not be updated.
  • Enable - Registration data is read from the file when the project is opened and before build, and stored.
  • Buildtime - Registration data will be read only as part of the build process; it will not be displayed in the Registry page or stored in the project.
If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”