Re: [WiX-users] FileSearch issues

2013-09-04 Thread Phil Wilson
It will work only during first install, as Rob most likely knows. During repair, feature change, and uninstall the SourceDir location is (IIRC) the installer directory of the cached MSI file. It's not good design to rely on external files in the same location as the MSI. There are too many

Re: [WiX-users] FileSearch issues

2013-09-04 Thread Kai Peters
Phil, your sample code works for me as well. Off to see where mine is different... On Mon, 2 Sep 2013 10:25:03 -0700, Phil Wilson wrote: My dumb search works just fine - I can't see what the issue is. This works for me: Sample.msi and thing.txt in the same directory. Property

Re: [WiX-users] FileSearch issues

2013-09-02 Thread Edwin Castro
I searched for WiX FileSearch in same directory as MSI on google. The first hit [1] I received [2] includes a reply from Phil Wilson suggesting the SourceDir [3] or OriginalDatabase [4] (with some additional parsing) might work. [1]

Re: [WiX-users] FileSearch issues

2013-09-02 Thread Phil Wilson
My dumb search works just fine - I can't see what the issue is. This works for me: Sample.msi and thing.txt in the same directory. Property Id=FILEEXISTS Secure=yes DirectorySearch Id=CheckFileDir Path=[SourceDir] Depth=0 FileSearch Id=CheckFile Name=thing.txt

Re: [WiX-users] FileSearch issues

2013-08-31 Thread Kai Peters
Hi Edwin, no need to be suspicious of Depth and AssignToProperty (firstly, omitting them didn't improve things, nor did I expect it to) as Depth can avoid unnecessary file system traversal (don't know how deep the search would go if no Depth is specified but would assume that default should

[WiX-users] FileSearch issues

2013-08-29 Thread K Peters
Hi, I am still struggling with my FileSearch - no matter what I try, it always pops up the File does not exist next to MSI message. I have tried using SourceDir as well as the absolute path to where both the MSI the inifile reside - same negative results. Does anyone have an idea as to where I

Re: [WiX-users] FileSearch issues

2013-08-29 Thread John Cooper
-Original Message- From: K Peters [mailto:kpet...@otaksoft.com] Sent: Thursday, August 29, 2013 12:05 PM To: Wix Users List Subject: [WiX-users] FileSearch issues Hi, I am still struggling with my FileSearch - no matter what I try, it always pops up the File does not exist next to MSI

Re: [WiX-users] FileSearch issues

2013-08-29 Thread Kai Peters
...@jackhenry.com www.jackhenry.com -Original Message- From: K Peters [mailto:kpet...@otaksoft.com] Sent: Thursday, August 29, 2013 12:05 PM To: Wix Users List Subject: [WiX-users] FileSearch issues Hi, I am still struggling with my FileSearch - no matter what I try, it always pops up the File

Re: [WiX-users] FileSearch issues

2013-08-29 Thread Edwin Castro
I'm highly suspect of the values for the Path, Depth and AssignToProperty attributes in your DirectorySearch. The example sent by John Cooper, replicated below for convenience, didn't set AssignToProperty=no nor Depth=0. Fragment PropertyRef Id=INSTALLLOCATION / Property