I figured it out. Following is the code if it could help some newbie like me
:-)
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Copy-files-from-same-location-as-msi-is-ru
Thanks for your repply Blair.
I understood how to make this work:
1. Use FileSearch to locate the file.
2. If found use CopyFile to copy this file to install dir. If not found then
use Browse file dialog to locate the file.
However I am having difficulty in refering to this file which will be a
For #1: You could use the element where your source directory is
as described here: http://msdn.microsoft.com/library/aa371857.aspx. However,
to combine this with #2, instead use this in creating your path to the file
you will copy directly.
For #2: you could try a (see the link above to locate
3 matches
Mail list logo