<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1">
    <title>Syncro 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"/>
    <options customize="never" allow-external-scripts="no" hostArchitectures="arm64,x86_64"/>
    <domains enable_localSystem="true"/>
    <installation-check script="installCheck();"/>
    <script>
function installCheck() {
    if(!(system.compareVersions(system.version.ProductVersion, '12.0.0') &gt;= 0)) {
        my.result.title = 'Unable to install';
        my.result.message = 'SyncroMSP requires macOS 12.0 (Monterey) or later.';
        my.result.type = 'Fatal';
        return false;
    }
    return true;
}
    </script>
    <choices-outline>
        <line choice="SyncroMSP"/>
    </choices-outline>
    <choice id="SyncroMSP" title="Syncro Agent">
        <pkg-ref id="SyncroMSP.pkg"/>
    </choice>
    <pkg-ref id="SyncroMSP.pkg" auth="Root" packageIdentifier="com.syncromsp" version="1.24.1461" installKBytes="284912">#SyncroMSP.pkg</pkg-ref>
    <pkg-ref id="SyncroMSP.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.24.1461" CFBundleVersion="1.24.1461" id="com.syncromsp" path="Library/Application Support/SyncroMSP/SyncroMSP.app"/>
        </bundle-version>
    </pkg-ref>
</installer-script>