Hi!
I need to determine whether a specific file that is not part of the
distribution is located in the installation directory. So I tried
<Property Id="FILE_EXISTS">
<DirectorySearch Id="Dir" Path="[INSTALLDIR]" Depth="0">
<FileSearch Id="File" Name="file.dat" />
</DirectorySearch>
</Property>
But that apparently does not work since INSTALLDIR is not set when the
DirectorySearch is performed.
Is there a way to delay the DirectorySearch until INSTALLDIR is defined?
Or what alternatives do I have to determine whether the searched file exists?
Jörg
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users