Orangevolt ANT Tasks » Tasks » Win32 related tasks » win32.registry
win32.registryExample

2.12.2.1.  Element exists

exists test for the existence of a subkey or an extry and sets a Ant property as its result. The property will be created only if the test is successful (property value will set to true).

Properties

Name Description Required
property The name of the property to set if the test succeeds. yes
subKey subKey is the path of a registry subtree to access. The subKey will be appended to the key attribute of the win32.registry task if set. no
entry if entry is set exists tests if an entry named entry exists. Otherwise the subKey will be tested for existence. no