Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Searching for file


2 replies to this topic

Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 31 December 2001 - 05:02

Instead of using the AppSearch table to search for a file on the entire disk, is it possible to restrict the search to directories contained within the path environment variable?

I could probably do this with a custom action, but is it possible to do it using native Windows Installer functionality.

Thanks,


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 31 December 2001 - 08:06

You can restrict it to specific directories (and optionally sub directories thereof) using DrLocator table. But as far as I know you can't search in the directories that are included in the PATH environment. But I think there's a WinAPI for this that you can call in a CA.

Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 01 January 2002 - 23:35

That is the reply that I was expecting, but not what I was hoping for.

Thanks anyway.