Unregister DLL using regsvr32
Another way of fixing this is to put the dll back and unregister it. Then you can delete it.
We often have this at customers places with midas.dll where the registered path does not have the dll.
The unregistration code lives in the DLL, unfortunately, so regsvr32 /u blabla.dll
won't work; you'll need to manually delete the DLL's information from the Windows registry using regedit
. I believe that the registration information is typically located in HKEY_CLASSES_ROOT\CLSID\{YOUR-CLSID}
.