Setting Default
If nothing is found at the <Location/> specified, the engine uses the value contained in the <Default/> tag instead. An application on the source machine may use an internal default instead of an externally defined default. This can create a problem when moving settings to the target machine, because the internal default's value is not accessible and cannot be migrated, and so the target machine's externally defined value is not overwritten. The <Default/> tag, by duplicating the internal default, ensures the externally defined setting on the target machine is overwritten with a value, even if the source machine hasn't provided an external value for copying to the target machine.
<Setting Name="TimeoutInMilliseconds">
<Location Type="registry" SubType="value">
HKCU\Software\Crunch\Timeout
</Location>
<Default>100</Default>
</Setting>
Attributes
|
Description
|
Possible Values
|
Required?
|
None
|
|
|
|
Children
|
Minimum
|
Maximum
|
Text: the value to use. Will be translated into the type declared on the parent <Setting/> .
|
N/A
|
N/A
|
|