Page 1 of 1

Installing Visual Studio Addin

Posted: Fri Oct 14, 2005 5:53 am
by Donal
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?

Posted: Fri Oct 14, 2005 7:08 am
by sinan
What do you mean by registry for com?

Posted: Fri Oct 14, 2005 8:13 am
by Donal
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.

Posted: Fri Oct 14, 2005 8:17 am
by sinan
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.

Posted: Fri Oct 14, 2005 8:41 am
by Donal
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.

Posted: Fri Oct 14, 2005 10:41 am
by sinan
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.