Add a new location to wds3  
Author Message
my name is not earl





PostPosted: Windows Desktop Search Development, Add a new location to wds3 Top

Is there a simple way to add a new location to the wds3 scope

In 2.5 (or 2.6 ) we could edit the locations in the registry under HKCU. Since wds3 is now running as SYSTEM and there is only one indexer per machine I guess HKCU a suitable place for this

If we have to implement Craw-Scope related Interfaces could you point me in the right direction where to find then.

Or better still point me in the direction of some sample code I can tear up. Again my preference is to do this in C#, so any interface for C# would be fantastic. (If it can be done)



Windows Search Technologies2  
 
 
Paul Stalteri





PostPosted: Windows Desktop Search Development, Add a new location to wds3 Top

58 reads and no responses. I guess I'm not the only one doesn't know how this works


 
 
Paul Nystrom - MSFT





PostPosted: Windows Desktop Search Development, Add a new location to wds3 Top

Paul -

The correct registry location in WDS 3.0 is:

HKLM\Software\Microsoft\Windows Desktop Search\DS\Views\Locations

Paul Nystrom - MSFT



 
 
Paul Stalteri





PostPosted: Windows Desktop Search Development, Add a new location to wds3 Top

Thanks Paul.

The registry key\values at that location seem to refer to a store.

What I was looking for is a registry key to add a path to the list of locations that are indexed.

I may have expected to find this under HKLM/.../Locations/All but there does not appear to be such a list of locations.

GUI-wise the way to modify these settings is

Right-click on the wds icon in the system tray; go to WDS Options; Modify.

I'd like to add locations to that box. If I could by simply adding registry key, that would be great. It seems that I have to write a dll and implementing some CrawlScopeManager thing with doesn't appear too clearly documented.