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 Attachment(s)
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
Re: Search network dirves for a file
Thank you for super quick reply.
Chris
Re: Search network dirves for a file
You are very welcome :)
Friedrich