I have an application that adds two menu items to the shell context menu of "jpegFile". I can see that it is correctly added to the registry but in some machines it doesn't appear when user right clicks a jpeg file!
I'm usin开发者_开发百科g [Windows 7] and I'm adding items to registry via my application's setup project.
Any idea why?
Probably caused incorrect registry.
Try registering your extension under
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Blah Blah] @="Edit with Blah Blah"
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Edit with Blah Blah\command] @="\"C:\Program Files\BlahBlah.exe\" \"%1\""
精彩评论