Installing Visual Studio Addin

Got a problem you cannot solve? Try here.
Donal
Posts: 3
Joined: Fri Oct 14, 2005 5:50 am

Installing Visual Studio Addin

Postby Donal » Fri Oct 14, 2005 5:53 am

I'm evaluating your software for the purpose of installing a Visual Studio Addin. The addin's assembly needs to be registry for com. How do I go about doing this?

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri Oct 14, 2005 7:08 am

What do you mean by registry for com?

Donal
Posts: 3
Joined: Fri Oct 14, 2005 5:50 am

Postby Donal » Fri Oct 14, 2005 8:13 am

Sorry i meant to say register for COM interop. Basically the .NET assembly needs to be registered for COM Interop so that the VS IDE can use it. I can do this manually using the Regasm.exe tool supplied with the .NET framework. I was wondering how this would be achieved using InstallAware.

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri Oct 14, 2005 8:17 am

Oh, I think you just want to register the assembly - that's what regasm does, right?

To do that, just install the assembly using the Install Assembly command. That will register the assembly, and also optionally install it into the GAC.

Donal
Posts: 3
Joined: Fri Oct 14, 2005 5:50 am

Postby Donal » Fri Oct 14, 2005 8:41 am

I've tried the Install Assembly command but this doesn't register the assembly for COM Interop. All the classes within the assembly need to be registered in the registry for the Addin to work correctly.

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri Oct 14, 2005 10:41 am

I see. I guess in that case the only option is to use regasm. You may run it after the Apply Install command using the Run Program (or Run Program As) command.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 47 guests