Re: [WiX-users] Check if a dll file is present on target machine

2006-10-10 Thread Wilson, Phil
ECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suraj BarkaleSent: Monday, October 09, 2006 11:47 PMTo: Bob ArnsonCc: wix-users@lists.sourceforge.netSubject: Re: [WiX-users] Check if a dll file is present on target machine Thanks for the prompt reply Bob but if user has 'Oracle Instant Client&

Re: [WiX-users] Check if a dll file is present on target machine

2006-10-10 Thread Bob Arnson
Suraj Barkale wrote: > 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? Not that I know of. -- sig://boB http://bobs.org - Take

Re: [WiX-users] Check if a dll file is present on target machine

2006-10-09 Thread Suraj Barkale
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 LoadLi

Re: [WiX-users] Check if a dll file is present on target machine

2006-10-09 Thread Bob Arnson
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

[WiX-users] Check if a dll file is present on target machine

2006-10-09 Thread Suraj Barkale
I want to know if I can search for a file in system path.I am trying to detect if Oracle is installed on a system. With all the different Oracle installation types out there, only surefire way seems to try & load OCI.dll and hope that Oracle is installed correctly if it loads without error.One solu