FileSearch Element

WiX Help

FileSearch Element

Description

Searches for file and assigns to fullpath value of parent Property

Windows Installer references
DrLocator Table, Signature Table
Parents
ComplianceCheck, ComponentSearch, DirectorySearch, DirectorySearchRef, IniFileSearch, Property, RegistrySearch
Inner Text
None
Children
None
Attributes
Name Type Description Required
Id String Specify the Id when you want to find the path to a file. Leave the Id absent if you want to find the parent directory of a file.  
Languages String The languages supported by the file.  
LongName LongFileNameType Long file name; set this attribute if preferred name is not in 8.3 format. Either this attribute or the Name attribute is required. When using only the LongName attribute, ICE03 should be ignored for the Signature table's FileName column.  
MaxDate DateTime The maximum modification date and time of the file. Formatted as YYYY-MM-DDTHH:mm:ss, where YYYY is the year, MM is month, DD is day, 'T' is literal, HH is hour, mm is minute and ss is second.  
MaxSize Int The maximum size of the file.  
MaxVersion String The maximum version of the file.  
MinDate DateTime The minimum modification date and time of the file. Formatted as YYYY-MM-DDTHH:mm:ss, where YYYY is the year, MM is month, DD is day, 'T' is literal, HH is hour, mm is minute and ss is second.  
MinSize Int The minimum size of the file.  
MinVersion String The minimum version of the file.  
Name ShortFileNameType File name of the file in 8.3 format. Please note that due to a Windows Installer bug, this attribute is not required if the preferred file name is not in 8.3 format. This attribute should only be set if the file to find is in 8.3 format. Either this attribute or the LongName is required.  
See Also
Wix Schema, ComponentSearch, DirectorySearch, DirectorySearchRef, FileSearchRef, IniFileSearch, RegistrySearch