The Shell Extensions Approved list is *not* a complete list of shell extensions on the system

I’ve noticed that a number of different programs just look at the Approved list of shell extensions [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved] and figure that all shell extensions will be in that list.  It’s not true, because lots of folks don’t really care about that policy.  I don’t know how often it’s used – it doesn’t really make…

0

Supplemental Registrations (aka. Context Menu Handers (etc) - where are they loaded from...)

I’ve been thinking about the registration problem where you want to add a context menu (much of this applies to static verbs as well) to a file type (we’ll say .ogg).  You don’t want the default verb, you just want to add some verbs.  Because you don’t want the default, you shouldn’t put your progid…

7

Installing shell extensions - please complain here

So… I’ve been looking more closely at Wix and I think I’m going to build some custom actions to do a really good job installing shell extensions.  Which ones do you find most problematic?  I realize this is a bit of a change of pace for the blog, so I’ll probably hit a few other…

9

RegNamespace sample up on codeplex

Scott, Jerry, Thayn and I have whipped up a sample of indexing the registry, as well as a shell folder (namespace extension) for viewing it.  It’s great to be able to search the registry via the index and it’s great sample of how to create a shellfolder, protocol handler, and even an IFilter.  So head on…

2

WMI Folder - codeplex project

Well, I’ve put the WMI folder code up on codeplex.  Please remember that this code is very much pre-alpha.  I think that this will be a good way to share the code, allow others to contribute, etc.  If it works well, then I will probably create codeplex projects for some of the other things that…

0

Getting a Path from an IDList

Not much to this – but I notice searches for this coming to my blog, so I might as well provide the answer.   Use SHGetPathFromIDList – as long as the pidl is part of the file system, this will succeed.  If you don’t need a file system path, you can pass something like PKEY_ItemFolderPathDisplay to…

0

WMI Shell Folder GetDisplayNameOf - untangling the flags

So I have a bit of a beef with GetDisplayNameOf – I don’t like the flags.  I understand that when it was created, the flexibility of flags made a ton of sense.  It wasn’t well understood what potentially wildly different uses might be needed, and flags are a good alternative to a giant enumeration.  But I think…

0