0.0.1 better than 2.6.5

by Matt 14. March 2007 18:48

At the end of November, Microsoft updated Windows Desktop Search from 2.6.5 to 2.6.6. Now, eagle eyed readers might remember that there was a bug in 2.6.5 - after registering your protocol handler, WDS doesn't automatically start indexing. According to the post in the MSDN forums, this was going to get fixed in 2.6.6.

Add to that the fact that I had a sneaky feeling registration wasn't working right (and because I had to do a lot of VPC messing about anyway) I thought I'd have a closer look.

The MSDN docs for registration don't mention the search manager object, and list a load of registry keys to do it all manually. Registry Monitor to the rescue, and it looks like neither 2.6.5 nor 2.6.6 write the protocol handler details to HKLM when using the search manager. This means you'll need to install your protocol handler for each user on the system.

Of course, that's not very useful seeing as WDS doesn't look at the HKLM key document. It does look at HKLM\Software\Microsoft\Search\ProtocolHandlers (note Search instead of RSSearch) but the format is different. I think this is a Sharepoint registry key, so I'd be reluctant to use if WDS (mainly because we not writing a plugin for Sharepoint, but for WDS). Interestingly, once it is written under HKCU, WDS will also search for it explicitly in that Sharepoint key above.

And to make things a bit more confusing, the HasRequirements and HasStartPage values documented on that MSDN page don't appear to be read, either.

So, let's look at that other bug. On a clean 2.6.5 system, if I register the protocol handler, it gets queried for ISearchProtocol, and Init is called, and that's it. It's only after I restart WDS or choose to rebuild the index does ISearchProtocol::GetDefaultCrawlScope get called, and I can set the default root URL. Some time after that, ISearchProtocol is queried, as is IUrlAccessor, and everything looks good.

Under 2.6.6, there's not much difference. The useless call to ISearchProtocol before having set up the default URL doesn't happen. Other than that, it's all exactly the same - I only get to set the default URL after restarting the program or rebuilding the index.

So, I'm sure that we can really say that the bug is fixed.

And seeing that the registry doesn't seem to work as expected, I'll be glad to move up to version 3.


Windows Desktop Search

Comments (13) -

best suv 2011
best suv 2011
7/20/2011 10:23:40 PM #

Is it ok if I quote your article in my monthly newsletter? I would think this article suits my topic perfectly. Well ya, thanks for posting this article.


iphone 4 g
iphone 4 g
7/23/2011 7:40:37 PM #

I've recently began a weblog, the data you provide on this site has helped me tremendously. Thanks for all your time & work.


photographe mariage paris
photographe mariage paris United States
6/8/2015 1:58:37 AM #

Thanks for your write-up. Another issue is that just being a photographer entails not only difficulties in catching award-winning photographs but hardships in acquiring the best digicam suited to your requirements and most especially challenges in maintaining the standard of your camera. That is very real and evident for those photography addicts that are in to capturing a nature's interesting scenes -- the mountains, the forests, the actual wild or the seas. Going to these amazing places certainly requires a dslr camera that can live up to the wild's harsh conditions.


Philix United States
11/20/2015 12:39:21 PM #

Good Web Site


Mitzi Towers
Mitzi Towers United States
1/15/2016 4:56:45 AM #

Congrats! So glad to see this site getting the recognition it deserves, the world can always use a little more awesome.


Deena Hofer
Deena Hofer United States
1/15/2016 5:00:06 AM #

Thaaaat IS awesome! lol hehe


Arnulfo Rametta
Arnulfo Rametta United States
1/15/2016 6:06:27 AM #

I love the dolphin saving you one.


Dia Staab
Dia Staab United States
1/15/2016 6:24:16 AM #

Well good for you! I have a lot but one I just thought of was when you lick a crease of paper so that it'll rip in a straight line and it actually tears in a frayed straight line rather than rips awkwardly. I love that bleachy taste and that bleachy satisfaction.


Lidia Loser
Lidia Loser United States
1/15/2016 7:19:30 AM #

yeah, except the "dolphin saving you" one


Francesca Vilardo
Francesca Vilardo United States
1/15/2016 8:31:09 AM #

yeah, except the "dolphin saving you" one


Clifford Liska
Clifford Liska United States
6/20/2016 6:58:53 PM #

Great information


Lawrence Brocklehurst
Lawrence Brocklehurst United States
8/25/2016 4:16:57 AM #

Howdy First of all I would like to say what a cool post! I had a quick question that I’d like to inquire if you don’t mind. I was curious to know how you center yourself and clear your mind prior to blogging. I’ve had distractions clearing my thoughts in getting my mind out. I do enjoy writing but it just looks like the first 10 to 15 minutes are wasted simply just trying to figure out how to begin. Any thought or tips? Thank you!


Malena Mierez
Malena Mierez United States
5/15/2018 11:10:10 PM #

Having read this I thought it was really informative. I appreciate you spending some time and energy to put this article together. I once again find myself spending way too much time both reading and posting comments. But so what, it was still worth it!|


Add comment

  • Comment
  • Preview


Month List


Comment RSS