How to register COM component

M

Mervin Williams

I have created a setup project for my application which includes a non .NET
managed code COM object. My COM component is automatically registered when
I build my project.

I'm having problems registering the COM component during installation. In
my setup project, I set the Register property to "vsdrpCOM" for the Primary
Output from the COM project element. But, upon installation my COM
component is not registered.

How do I get my COM component to register during installation?

Thanks in advance,

Mervin Williams
 
C

Carlos J. Quintero [MVP]

Using vsdrpCOMSelfRegister should work fine.

If not, some pointers:

1) Try to create a simple setup project sample that registers for COM a
(activex) file (not a project output), to see if it works.

2) Use the proper option of msiexec to create an installation log and
examine its contents to see why is failing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top