Archive: how to check whether a DLL or OCX file is registered or not?


how to check whether a DLL or OCX file is registered or not?
If the DLL or OCX has been registered, there's no need to register it again, but how to check that? Thank you!


Through the registry I guess, checking specific registry records which identify if the dll is already registered.
Anyways, if it is already registered and you attempt to register it again would not harm you, and of course if you use the Library.nsh you don't have to worry of anything.

http://nsis.sourceforge.net/Docs/AppendixB.html#B.1