XRE Help

Usage

A XML file for your specific application is required for XRE. The xml file must contain two tags: Settings and Sections.

The file name must be supplied in the command line; otherwise, the name xre.xml will be used. In this case, the xre.xml file must be placed in the same folder as the executable. If xre.xml does not exit, a dialog box will prompt you to choose a suitable XML file.

Example

A simple example file is shown below:

<?xml version="1.0" encoding="utf-8"?>
<XRE>
    <Settings>
        <AppTitle>Windows Notepad</AppTitle>
        <RegistryRoot>HKCU\SOFTWARE\Microsoft</RegistryRoot>
    </Settings>
    <Sections>
        <Section name="Options">
            <Item type="string" entry="Notepad:lfFaceName" name="Font family" />
            <Item type="bool" entry="Notepad:StatusBar" name="Status bar" />
        </Section>
    </Sections>
</XRE>