FileSearch element
Searches for file and assigns to fullpath value of parent Property
Attributes
Id
stringUnique identifier for the file search and external key into the Signature table. If this attribute value is not set then the parent element’s @Id attribute is used.
Languages
stringThe languages supported by the file.
MaxDate
xs:dateTimeThe 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
integerThe maximum size of the file.
MaxVersion
stringThe maximum version of the file.
MinDate
xs:dateTimeThe 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
integerThe minimum size of the file.
MinVersion
stringThe minimum version of the file.
Name
LongFileNameTypeIn prior versions of the WiX toolset, this attribute specified the short file name. This attribute’s value may now be either a short or long file name. If a short file name is specified, the ShortName attribute may not be specified. If you wish to manually specify the short file name, then the ShortName attribute may be specified.
ShortName
ShortFileNameTypeThe short file name of the file in 8.3 format. There is a Windows Installer bug which prevents the FileSearch functionality from working if both a short and long file name are specified. Since the Name attribute allows either a short or long name to be specified, it is the only attribute related to file names which should be specified.
Parents
Remarks
When the parent DirectorySearch/@Depth attribute is greater than 0, the FileSearch/@Id attribute must be absent or the same as the parent DirectorySearch/@Id attribute value, unless the parent DirectorySearch/@AssignToProperty attribute value is ‘yes’.
See also
ComponentSearch, DirectorySearch, DirectorySearchRef, FileSearchRef, IniFileSearch, RegistrySearch