Reply to Thread

Post a reply to the thread: Search network dirves for a file

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-06-2011, 03:22 AM
    linder

    Re: Search network dirves for a file

    You are very welcome

    Friedrich
  • 12-06-2011, 03:18 AM
    Chris

    Re: Search network dirves for a file

    Thank you for super quick reply.
    Chris
  • 12-06-2011, 01:46 AM
    linder

    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
  • 12-05-2011, 05:17 PM
    Chris

    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 ?

Posting Permissions

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