RegistrySearch Element (Util Extension)

Windows Installer XML

RegistrySearch Element (Util Extension)

Description
Describes a registry search.
Windows Installer references
None
Parents
Bundle, Fragment
Inner Text
None
Children
None
Attributes
Name Type Description Required
After String Id of the search that this one should come after.  
Condition String Condition for evaluating the search. If this evaluates to false, the search is not executed at all.  
ExpandEnvironmentVariables YesNoType Whether to expand any environment variables in REG_SZ, REG_EXPAND_SZ, or REG_MULTI_SZ values.  
Format Enumeration What format to return the value in. This attribute's value must be one of the following:
Raw
Returns the unformatted value directly from the registry. For example, a REG_DWORD value of '1' is returned as '1', not '#1'.
Compatible
Returns the value formatted as Windows Installer would. For example, a REG_DWORD value of '1' is returned as '#1', not '1'.
 
Id String Id of the search for ordering and dependency.  
Key String Key to search for. Yes
Result NMTOKEN Rather than saving the matching registry value into the variable, a RegistrySearch can save an attribute of the matching entry instead. Pattern: 'Exists'.  
Root Enumeration Registry root hive to search under. This attribute's value must be one of the following:
HKLM
HKEY_LOCAL_MACHINE
HKCU
HKEY_CURRENT_USER
HKCR
HKEY_CLASSES_ROOT
HKU
HKEY_USERS
Yes
Value String Optional value to search for under the given Key.  
Variable String Name of the variable in which to place the result of the search. Yes
See Also
Util Schema