| Self-Registering DLLs using REGSVR32.EXE |
The REGSVR32.EXE utility that comes with the Windows operating system can be used to manually self-register or un-register an ActiveX/COM component. The command syntax for REGSVR32 is:
Regsvr32 [/u][/s][/n][/I[:cmdline]] dllname
Where:
/u – Unregister server
/s – Silent; display no message boxes
/c – Console output
/I – Call Dllinstall passing it an optional [cmslin]; when used with /u calls dll uninstall
/n – do not call DllRegisterServer; this option must be used with /I
For example, to register the EDIDEV.DLL, the following command can be typed:
Regsvr32 EDIDEV.DLL
To un-register, the following command can be typed
Regsvr32 –u EDIDEV.DLL.