Manually Registering COM DLL - Advanced Installer Community
sagaru
Posts: 10
Joined: Wed Sep 23, 2015 5:42 pm

Manually Registering COM DLL

Hello,

I'm new to advance installer, I am trying to register COM DLL from the MSI file generated from advanced installer. I tried with auto registration and it registers the dll. Advance installer registers dll in registry path "HKEY_CLASSES_ROOT\CLSID" by default.

I noticed in COM section that the registry path is readonly, So I thought of doing registration manually by adding classes in COM and Assemblies sections but I couldn't find a way to specify the registry path.

How to set the registry path ?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Manually Registering COM DLL

Hello and welcome to Advanced Installer forums,

For COMs defined through MSI Class table that registry location is read only. This is the Windows Installer support and unfortunately it doesn't offer the possibility to configure that value.

As a workaround you can try the custom approach described in this COM extraction forum thread.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sagaru
Posts: 10
Joined: Wed Sep 23, 2015 5:42 pm

Re: Manually Registering COM DLL

Hello Mihai,

Thanks for the response. I cannot register my COM dll via regsvr32 as suggested in that article. I can register via regasm, even advance installer is using regasm to register COM/.Net Dll's https://msdn.microsoft.com/en-us/librar ... .110).aspx
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Manually Registering COM DLL

Hello,

If you want to use regasm, then you can try to create a custom action like it is described in our "Call regasm in custom action matching product bitness" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”