Thanks for the prompt reply Bob but if user has 'Oracle Instant Client' (which is nothing but a few dlls put in a folder in system path), it will be impossible to detect only using registry. And as you say searching all drives is a no-no.I have decided to code a CustomAction dll which calls LoadLibrary() in Kernel32.dll.
Is there a custom action which lets me call a function in Kernel32.dll or any other preinstalled dll and use returned value for condition?

On 10/9/06, Bob Arnson <[EMAIL PROTECTED]> wrote:
Suraj Barkale wrote:
> I want to know if I can search for a file in system path.

You can use FileSearch to find a particular file with a version range
but it doesn't support searching just the path. The alternative is to
search a tree, such as ProgramFilesFolder, but that won't find
directories installed elsewhere. You can tell the AppSearch action to
search all drives on the system but your users won't thank you for that
brute force approach. Your best bet is to find from Oracle any registry
entries or other data indicating version info and install location.

--
sig://boB
http://bobs.org



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to