+ Reply to Thread
Results 1 to 4 of 4

Thread: Search network dirves for a file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Search network dirves for a file

    I've used WISE for over 10 years, but am now evaluating SetUpBuilder(Dev).

    I want to search all local and/or network drives looking for a path/file.
    (this is my system for deciding what to install based on which of our software the user already has).

    How can I do this in SB ?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Search network dirves for a file

    Chris,

    Very easy to do. I have developed a quick and dirty demo for you (see attached screenshot and .sb7 project).

    The example searches all detected drives (excluding removable drives) for "notepad.exe". It searches up to folder level 2 in this demo.

    By the way, IMO and from my experiences, it is not a good idea (and not recommended) to search for a specific file on all available drives. And on modern UAC-aware operating systems (Vista+) you never know whether mapped drives are visible or accessible to an elevated running installer.

    See:
    http://www.lindersoft.com/forums/showthread.php?t=31410

    Hope this helps.

    Friedrich
    Attached Images Attached Images  
    Attached Files Attached Files

  3. #3

    Default Re: Search network dirves for a file

    Thank you for super quick reply.
    Chris

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Search network dirves for a file

    You are very welcome

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •