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!

kevison
Posts: 2
Joined: Thu Jan 16, 2020 5:00 pm

creating install mimicing regasm /codebase

Is there a way to mimic the manual process of "regasm /codebase <my.dll>"? I haven't been able to do this outside of creating a batch file to do it. We want to start creating MSI, but... this particular situation is really throwing me.

Thanks!
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: creating install mimicing regasm /codebase

Hello and welcome to Advanced Installer forums,

In order to achieve that, you can add your .DLL file in the "Files and Folders" page and then right click on it --> "Properties" --> "Registration" tab --> check the "Auto register file (DLL, OCX, etc)" option. After doing so, please select the "Register .NET assembly for COM Interoperability"

This option creates the required registry entries in order for your assembly to be operable through COM. Advanced Installer attempts to find the RegAsm.exe tool in order to extract the registry entries required for COM interoperability.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kevison
Posts: 2
Joined: Thu Jan 16, 2020 5:00 pm

Re: creating install mimicing regasm /codebase

ahh.. my trial period expired... Cant test this.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: creating install mimicing regasm /codebase

Hello,

If that is the case, then you can download Advanced Installer on a new machine (e.g. a Virtual Machine) and continue your testing there (you will get another 30 days of trial).

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”