Out-of-process COM servers adhere to the COM convention of using /RegServer and /UnregServer command line options to perform their registration and unregistration actions. When started with one of these options, the server is supposed to run invisibly and to terminate immediately after completing the (un-)registration.
<COM server exe file> /regserver
<COM server exe file> /unregserver