This project has moved and is read-only. For the latest updates, please go here.
The Context handler is registered under HKEY_CLASSES_ROOT\SystemFileAssociations in the entry for the extension:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.cs]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.cs\ShellEx]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.cs\ShellEx\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.cs\ShellEx\ContextMenuHandlers\FileMetadata]
@="{28D14D00-2D80-4956-9657-9D50C8BB47A5}"

The GUID is that of our registered Context handler service.

Versions of File Meta up to 1.3 also wrote this information under HKEY_CLASSES_ROOT\.cs, which is a higher priority location. However, this has been discontinued because many of these entries were shared between multiple extensions, and so cases could occur where the context menu was registered for an extension where the property handler was not. Version 1.4 will still clean these older entries up when removing a File Meta property handler.

If the property handler for an extension is being extended, the File Meta context menu handler is just added to the existing list, as there can be arbitrarily many context menus for an extension:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp]
...
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\ShellEx]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\ShellEx\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\ShellEx\ContextMenuHandlers\FileMetadata]
@="{28D14D00-2D80-4956-9657-9D50C8BB47A5}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\ShellEx\ContextMenuHandlers\ShellImagePreview]
@="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"



Last edited Sep 7, 2016 at 9:38 AM by Dijji, version 3

Comments

No comments yet.