The product that I'm working on requires that a type library file (suffix .tlb
) be registered for internal COM communication between components to work correctly. On production machines this registration is performed by the InstallShield setup. On developer machines, however, we so far depended on the utility regtlibv12.exe
to do the job.
While upgrading our dev environment to Visual Studio 2017 (previously Visual Studio 2013) we found out that regtlibv12.exe
is no longer present. A quick search through the entire machine for regtlib*
, tlb*.exe
and other likely patterns did not yield any result. Also, my Internet search-fu did not produce anything useful - but I simply may have used the wrong keywords...
Do you know of any utility that is deployed with Visual Studio 2017 that can replace regtlibv12.exe
? Anything that can be run from a PowerShell script is acceptable. Also acceptable is a hint for the relevant .NET API that I could use to code the registration process myself (I might even go so far as to try to p/invoke Win32 functions). Not acceptable are solutions that need to be run as part of the build process - I don't want the type library to be registered on the build server!
In case this is important: The .tlb
file is generated from a .NET assembly with tlbexp.exe
.