|Id||String||Signature to be used for the file, directory or registry key being searched for.||Yes|
|Key||String||Key for the registry value.||Yes|
|Name||String||Registry value name. If this value is null, then the value from the key's unnamed or default value, if any, is retrieved.|
|Root||Enumeration||Root key for the registry value. This attribute's value must be one of the following:
|Type||Enumeration|| The value must be 'file' if the child is a FileSearch element, and must be 'directory' if child is a DirectorySearch element. This attribute's value must be one of the following:
|Win64||YesNoType||Instructs the search to look in the 64-bit registry when the value is 'yes'. When the value is 'no', the search looks in the 32-bit registry. The default value is based on the platform set by the -arch switch to candle.exe or the InstallerPlatform property in a .wixproj MSBuild project: For x86 and ARM, the default value is 'no'. For x64, ARM64, and IA64, the default value is 'yes'.|
When the Type attribute value is 'directory' the registry value must specify the path to a directory excluding the file name. When the Type attribute value is 'file' the registry value must specify the path to a file including the file name; however, if there is no child FileSearch element the parent directory of the file is returned. The FileSearch element requires that you author the name of the file you are searching for. If you do not know the file name you must set the Type attribute to 'raw' to return the full file path including the file name.