first create a property and then use <config> element in that use <option> now provide the metric values in it using expression language.
example
<property name="INSTALLPATH"
value="ABCDefg" />
<config>
<option name="installpath_loclation" default="${INSTALLPATH}" />
</config>
Now you can see the value picked automatically