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

2.12.2.5.  Element import

The import element imports a whole registry subtree from XML.

import can be used with a file argument referencing the import xml data or with embedded import xml data as body content.

Properties

Name Description Required
file The file containing the registry data to import. The file format is XML. yes if the import data is not given as body content of the import element.
subKey subKey is the path of a registry subtree to use. The subKey will be appended to the key attribute of the win32.registry task if set. no

Version 1.2 imports data entries always as REG_SZ (string) and ignores the given data type !

Both key and root attribute of the import xml data will be ignored. The root and key/subKey informations given be win32.registry and import will be used.