Bobr.pw - Бобровая сила

Sometimes but it is required to register or re-register any DLL. And now, once again, googling, I realized that I need to add to himself. This a small, a rare, but useful article. Almost everything is taken from the original source, it is difficult to come up with a new design bike :) when the format of the command is straight as a rail.

And so it went. All we really need to remember is the writing of the utility itself regsvr32 . This is the hardest thing for me, because I don't use it every day. You can use it to register OLE controls, such as ActiveX controls and DLLs, in the Windows registry. And then the path and the command format.

64-bit versions of Windows have two versions of the Regsvr32 file.exe:
32-bit version — %systemroot%\\System32\\regsvr32.exe ;
64-bit version — %systemroot%\\SysWoW64\\regsvr32.exe .

Command syntax Regsvr32

The RegSvr32 .exe program has the following command-line options.
Regsvr32 [/u] [/n] [/i [: command line]] DLL file

/u — unregisters the server

/i — calls DllInstall, passing an optional command string to It in the parameter; when used with the /u key, calls DllUnInstall.
/n — does not call DllRegisterServer; this can be used with the /i key

/s – silent mode; message boxes are not displayed