Re: regsvr32 shell32.dll
"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:0mc2p3df6nbg0rgfmkahdnvfsv2rbtte07@4ax.com...
> On Fri, 18 Jan 2008 14:34:25 -0500, "glee" <glee29@spamindspring.com>
> put finger to keyboard and composed:
>
>>Have you tried it with the /i switch?
>>
>>regsvr32 /i shell32.dll
>
> Sorry to hijack this thread, but what exactly does the regsvr32
> command actually do, ie what does "registering" a .dll file involve?
>
> All I have been able to find is an explanation such as ...
>
> "This command-line tool registers .dll files as command components in
> the registry."
Well, that's what it does.....the particular file contains the information for
self-registering, which means to add its needed entries into the Registry. Each
component is specific to the file that is registered, and what those components are
is known by the programmer.
Some can be searched online.....for example, go here:
http://www.mvps.org/serenitymacros/repair.html
Expand the first heading:
Repairing your File Associations from Winzip
Scroll down and you will see an example where, if you've installed Compressed
Folders from Plus!98, the file zipfldr.dll is registered, and you can effect a
repair if it stops working correctly by re-registering it with regsvr32.
That action adds the following entries to the Registry:
[HKEY_CLASSES_ROOT\.zip]
"Content Type"="application/x-zip-compressed"
@="CompressedFolder"
[HKEY_CLASSES_ROOT\.zip\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\CompressedFolder]
@="Compressed Folder"
[HKEY_CLASSES_ROOT\CompressedFolder\CLSID]
@="{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}"
[HKEY_CLASSES_ROOT\CompressedFolder\DefaultIcon]
@="C:\\WINDOWS\\SYSTEM\\ZIPFLDR.DLL"
[HKEY_CLASSES_ROOT\CompressedFolder\Shell]
[HKEY_CLASSES_ROOT\CompressedFolder\Shell\Explore]
[HKEY_CLASSES_ROOT\CompressedFolder\Shell\Explore\Command]
@="explorer /e,/root,{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31},%L"
[HKEY_CLASSES_ROOT\CompressedFolder\Shell\Open]
[HKEY_CLASSES_ROOT\CompressedFolder\Shell\Open\Command]
@="rundll32.exe zipfldr.dll,RouteTheCall %L"
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx]
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx\ContextMenuHandlers\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}]
@="Compressed Folder Menu"
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx\DropHandler]
@="{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}"
[HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}]
@="CompressedFolder"
[HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}\DefaultIcon]
@="C:\\WINDOWS\\SYSTEM\\ZIPFLDR.DLL"
[HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}\InProcServer32]
@="C:\\WINDOWS\\SYSTEM\\ZIPFLDR.DLL"
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}\ProgID]
@="CompressedFolder"
[HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}\ShellFolder]
"Attributes"=hex:a0,01,00,20
[HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}\Implemented
Categories]
[HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}\Implemented
Categories\{00021490-0000-0000-C000-000000000046}]
Every self-registering .dll or .ocx file can have anywhere from a few to dozens or
hundreds of entries....it depends on what the programmer built into the file.
Hope this helps....
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.net/
http://dts-l.net/goodpost.htm