<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1">
    <title>UXM Endpoint Agent</title>
    <!-- <background mime-type="image/png" file="banner.png" scaling="proportional"/> -->
    <!-- <background-darkAqua mime-type="image/png" file="banner.png" scaling="proportional"/> -->
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <!-- <license file="LICENSE.txt"/> -->
    <options customize="never" allow-external-scripts="no"/>
    <domains enable_localSystem="true"/>
    <installation-check script="installCheck();"/>
    <script>
function installCheck() {
    if(!(system.compareVersions(system.version.ProductVersion, '10.6.0') &gt;= 0)) {
        my.result.title = 'Unable to install';
        my.result.message = 'UXM Endpoint Agent requires Mac OS X 10.6 or later.';
        my.result.type = 'Fatal';
        return false;
    }
    if(system.files.fileExistsAtPath('/Library/UxmEndpointAgent/2026.10.12/')) {
        my.result.title = 'Previous Installation Detected';
        my.result.message = 'A previous installation of UXM Endpoint Agent exists at /Library/UxmEndpointAgent/2026.10.12/. This installer will remove the previous installation prior to installing. Please back up any data before proceeding.';
        my.result.type = 'Warning';
        return false;
    }
    return true;
}
    </script>
    <choices-outline>
        <line choice="UxmEndpointAgent"/>
    </choices-outline>
    <choice id="UxmEndpointAgent" title="UXM Endpoint Agent">
        <pkg-ref id="UxmEndpointAgent.pkg"/>
    </choice>
    <pkg-ref id="UxmEndpointAgent.pkg" auth="Root" packageIdentifier="org.UxmEndpointAgent.2026.10.12" version="2026.10.12" installKBytes="18732" updateKBytes="0">#UxmEndpointAgent.pkg</pkg-ref>
    <pkg-ref id="UxmEndpointAgent.pkg">
        <bundle-version/>
    </pkg-ref>
</installer-script>