If your COM-interface implemented in 32 bit, just launch the console (cmd.exe), then type
%windir%\System32\regsvr32.exe yourlib.dll
If you have some installation script, consider to use autoregisration feature (if its available)
If your library is for 32 bit architecture and target system is x64, you should use then
DllSurrogate[
^].
For more information about DllSurrogate, please refer the following link:
Registering the DLL Server for Surrogate Activation[
^]
Upd
Please refer to the following link to register your 32-bit COM object on 64-bit OS:
Using a 32-bit COM Object from a 64-bit Application[
^]