cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
andy928
Pilgrim

How to register DLLs for COM Interop

Hi All,

Sorry for a dumb question, but i cannot find the answers in manuals - How to register .NET DLLs for COM interop and create .TLB files? As i can understand InstallShield doesn't use regasm.

What I did:

1) Selected my DLL in Components
2) Clicked Advanced Settings - COM Registration
3) In COM Classes added New (InprocServer32)

Questions:

1) Is it enough? Am I missing something important here?
2) will it also create and register a TLB file?

Pls help

Thank you!
Labels (1)
0 Kudos
3 Replies
andy928
Pilgrim

All done!

Everything works OK. I did it through components - setting option Com Interop to Yes for both dll and tlb files
0 Kudos
Appliedjai
Pilgrim

REgasm

You can use regasm.exe as an option
0 Kudos
andy928
Pilgrim

Re: How to register DLLs for COM Interop

Regasm didn't work for me. I've managed to get it working only via VS2008 installation setup directly and IS.

Also, I tried importing a VS setup to IS, but it doesn't work as supposed. IS didn't catch all dependencies from VS and COM registrations
0 Kudos