<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <welcome file="Welcome.rtf"/>
    <background file="Background.tiff" scaling="none" alignment="topleft"/>
    <background-darkAqua file="Background-Dark.tiff" scaling="none" alignment="topleft"/>
    <installation-check script="isVersionSupported()"/>
    <script>
    function isVersionSupported() {
        if(system.compareVersions(system.version.ProductVersion, '10.12') == -1) {
            my.result.title = 'Unsupported system version';
            my.result.message = 'macOS must be 10.12 or newer.';
            my.result.type = 'Fatal';
            return false;
        }
        return true;
    }
    </script>
    <title>Advanced Monitoring Agent</title>
    <product id="com.solarwinds.pkg.advancedMonitoringAgent" version="3.9.5"/>
    <options customize="never" hostArchitectures="arm64,x86_64" require-scripts="false" allow-external-scripts="false"/>
    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="10.12"/>
        </allowed-os-versions>
    </volume-check>
    <choice id="Install" visible="false">
        <pkg-ref id="com.solarwinds.pkg.advancedMonitoringAgent.python"/>
        <pkg-ref id="com.solarwinds.pkg.advancedMonitoringAgent"/>
    </choice>
    <pkg-ref active="true" id="com.solarwinds.pkg.advancedMonitoringAgent.python" version="3.12.2" installKBytes="126989">#component_python.pkg</pkg-ref>
    <pkg-ref active="true" id="com.solarwinds.pkg.advancedMonitoringAgent" version="3.9.5" installKBytes="55302">#component_agent.pkg</pkg-ref>
    <choices-outline>
        <line choice="Install"/>
    </choices-outline>
    <pkg-ref id="com.solarwinds.pkg.advancedMonitoringAgent.python">
        <bundle-version>
            <bundle CFBundleShortVersionString="3.12.2, (c) 2001-2023 Python Software Foundation." CFBundleVersion="3.12.2" id="org.python.python" path="usr/local/rmmagent/Python.framework"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.solarwinds.pkg.advancedMonitoringAgent">
        <bundle-version>
            <bundle CFBundleShortVersionString="3.9.5" CFBundleVersion="3.9.5 (build 150 #405829c)" id="RMM Notification Service" path="usr/local/rmmagent/RMM Notification Service.app"/>
            <bundle CFBundleShortVersionString="3.9.5" CFBundleVersion="3.9.5 (build 150 #405829c)" id="RMM Task Display" path="Library/PrivilegedHelperTools/RMM Task Display.app"/>
            <bundle CFBundleShortVersionString="3.9.5" CFBundleVersion="3.9.5 (build 150 #405829c)" id="AdvancedMonitoringAgent" path="Applications/Utilities/Advanced Monitoring Agent.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>