<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="1">
    <title>Arq Backup</title>
    <organization>com.haystacksoftware</organization>
    <domains enable_localSystem="true"/>
    <options customize="never" require-scripts="true" rootVolumeOnly="true" hostArchitectures="x86_64,arm64"/>
    <installation-check script="InstallationCheck()"/>
    <welcome file="Welcome.rtf"/>
    <!-- Define documents displayed at various steps -->
    <!-- welcome    file="welcome.html"    mime-type="text/html" /-->
    <!-- license    file="license.html"    mime-type="text/html" /-->
    <!-- conclusion file="conclusion.html" mime-type="text/html" /-->
    <!-- List all component packages -->
    <pkg-ref id="com.haystacksoftware.Arq" version="7.44.1" auth="root" installKBytes="47797" updateKBytes="0">#client.pkg</pkg-ref>
    <!-- List them again here. They can now be organized
         as a hierarchy if you want. -->
    <choices-outline>
        <line choice="com.haystacksoftware.Arq"/>
    </choices-outline>
    <!-- Define each choice above -->
    <choice id="com.haystacksoftware.Arq" visible="false" title="Arq Backup" description="backup client" start_selected="true">
        <pkg-ref id="com.haystacksoftware.Arq"/>
    </choice>
    <script><![CDATA[
function InstallationCheck(prefix) {
    if (system.compareVersions(system.version.ProductVersion, '10.10.5') < 0) {
        my.result.message = 'macOS 10.10.5 or newer is required';
        my.result.type = 'Fatal';
        return false;
    }
    return true;
}
]]></script>
    <pkg-ref id="com.haystacksoftware.Arq">
        <bundle-version>
            <bundle CFBundleShortVersionString="7.44.1" CFBundleVersion="7.44.1" id="com.haystacksoftware.Arq" path="Applications/Arq.app"/>
        </bundle-version>
    </pkg-ref>
    <product version="7.44.1"/>
</installer-gui-script>