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 Enumeration Rather than saving the matching registry value into the variable, a RegistrySearch can save an attribute of the matching entry instead. This attribute's value must be one of the following: - exists
- Saves true if a matching registry entry is found; false otherwise.
- value
- Saves the value of the registry key in the variable. This is the default.
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 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 'no'. - See Also
- Util Schema