It seems like a fairly common task to check if a registry entry exists
or not and then respond accordingly. In this situation, it would not
be an error if the registry entry does not exist -- in fact in some
cases it's expected.
The "failonerror" attribute to the readregistry task helps a bit here
Check out this code fragment:
The echo statement shouldn't happen if property2 doesn't exist;
however, the following error happens:
Property evaluation failed.
Expression: property2 is ${property2}
^
Property 'property2' has not been set.
Should this