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.
>
>
> Id="CheckF
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 failure
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.
and a custom action in the execute sequence to display the value...
msgbox
session.property("FILEEXISTS
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]
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/H
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 b
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".
Hi John,
I don't think so - I understand that perfectly. As I wrote in my post "...
where both the MSI & the
inifile reside ..." - the ini file sits right beside the MSI at the time of
execution, yet it is not
found by my Wix code, regardless of how I specify the directory for it;
absolute pa
I suspect part of your problem is your concept of what a DirectorySearch or
FileSearch does. Both searches look for directories and files that already
exist at the time of the install. For example, I use a FileSearch to recover
the path to a web.config so I can recover it's encrypted connectio
8 matches
Mail list logo