Custom registration with regasm? RRS feed

  • Question

  • Hi,

    I've got a .NET assembly that I want to expose to a COM client.  I've set the necessary attributes, GUID creation, etc, and I can call my .NET assembly from a COM client successfully.

    As part of the registration process (I'm using regasm /codebase), I'd like to have some additional custom registry entries created. For example, I'd like to create a custom category as the value of an Implemented Categories subkey of my component's CLSID (e.g. HKCR\CLSID\{My CLSID}\Implemented Categories). I'd also like to create a TypeLib key under HKCR\CLSID\{My CLSID}\TypeLib, and in that TypeLib key set the default value to the GUID of the object's type library.

    Is it possible to have additional registry entries created when I register my assembly via regasm?



    Wednesday, April 11, 2012 9:41 PM


All replies