How to register a .NET CCW with regasm from a Visual Studio 2008 Setup project
问题 I have a setup project for a .NET Service Application which uses a .NET component wich exposes a COM interface (COM callable wrapper / CCW). To get the component working on a target machine, it has to be registered with regasm.exe /tlb /codebase component.dll The /tlb switch to generate the typelib is mandatory in this case, otherwise i can't create objects from that assembly. The question is, how can i configure my Visual Studio 2008 Setup-Project to register this assembly with a call to