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!

mechanicalchad
Posts: 2
Joined: Tue Aug 06, 2013 11:13 pm

Registering Assembly and Type Library

Hi There,

I have a assembly file named AzureFileStorage.dll and need to register it on the user's machine and create a type library for COM interop. The AzureFileStorage.dll also includes a reference to Microsoft.WindowsAzure.Storage.dll. I am wondering how I should set it up so that the AzureFileStorage.dll is registered, added to the GAC, with a type library created named AzureFileStorage.tlb (similar to using REGASM). I also need the Micrsoft.WindowsAzure.Storage.dll to be added to the GAC (similar to using GACUTIL).

I have added the files AzureFileStorage.dll and Microsoft.WindowsAzure.Storage.dll to the Application Folder. Under the Registration tab, The AzureFileStorage.dll has Auto register file set to true with the Register .NET assembly for COM interopability set to true. I have kept this unchecked for the Microsoft.WindowsAzure.dll.

Under the Assemblies button, I have both AzureFileStorage.dll and Microsoft.WindowsAzure.Storage.dll listed with the Install in Global Assembly Cache button set to true.

Do I need to do anything else, or should this do what I am looking for?

Thanks,
Chad
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Registering Assembly and Type Library

Hello Chad and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Indeed, you configurations seems to be correct. Can you please send us the .AIP (project file) and the two DLL files (AzureFileStorage.dll and Microsoft.WindowsAzure.Storage.dll) to support at advancedinstaller dot com so we can investigate them and make sure that you can achieve what you want with the actual settings?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mechanicalchad
Posts: 2
Joined: Tue Aug 06, 2013 11:13 pm

Re: Registering Assembly and Type Library

Hi Eusebiu,

No need, I gave it a go, and it appears to be working. Thanks for the help!

Chad
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Registering Assembly and Type Library

You're welcome. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”