I'm trying to verify that two files exist, using a property with embedded 
FileSearch. But this doesn't seem to be working. Each time I run it, in the log 
file it lists it as "0", which is the default property value, from what I've 
read and how I've got it coded below.

Any help would be appreciated...

<Property Id="MCT_INSTALLED" Value="0">

<DirectorySearch Id="CheckTOOLSDIR" Path="TOOLSDIR" Depth="0" 
AssignToProperty="yes">

<FileSearch Id="CheckMCT" Name="MCT.exe"/>

</DirectorySearch>

</Property>

<Property Id="MCT_HAS_RUN" Value="0">

<DirectorySearch Id="MCT_MADE" Path="TOOLSDIR" Depth="0" AssignToProperty="yes">

<FileSearch Id="applications.xml" Name="applications.xml"/>

</DirectorySearch>

</Property>

Log:
AppSearch: Property: MCT_INSTALLED, Signature: CheckTOOLSDIR
MSI (c) (AC:84) [15:32:30:023]: Note: 1: 1322 2:
MSI (c) (AC:84) [15:32:30:023]: Note: 1: 1322 2:
AppSearch: Property: MCT_HAS_RUN, Signature: MCT_MADE
MSI (c) (AC:84) [15:32:30:023]: Note: 1: 1322 2:
MSI (c) (AC:84) [15:32:30:023]: Note: 1: 1322 2:
. . .
Property(N): MCT_INSTALLED = 0
Property(N): MCT_HAS_RUN = 0


David Bartmess

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to