Regsvr32 is called to unregister the COM components in the dll using the following command line call:
regsvr32.exe /s /u <file path>
After the dll is unregistered it is removed from the target system.