<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>AudioRoute 1.2.10</title>
    <organization>com.audioroute</organization>
    <!-- NO <domains> element on purpose. A <domains enable_localSystem="true"/>
         forces a "Select a Destination" screen with a single "Install for all
         users" option, and combined with rootVolumeOnly below it leaves the
         Continue button greyed out on some macOS versions (the lone domain
         isn't auto-selected — it just happens to auto-select on newer macOS).
         rootVolumeOnly="true" already installs system-wide with no volume
         choice, so the screen is redundant; dropping <domains> removes it
         entirely (License -> Installation Type directly). -->
    <options customize="never" require-scripts="true" rootVolumeOnly="true" hostArchitectures="x86_64,arm64"/>
    <!-- macOS 14.2 is the floor of the Core Audio process-tap API the daemon
         depends on. Installer refuses to run below this so we don't end up
         with a half-installed product that crashes on first launch — see
         Sentry CAPTURE-H (NSInvalidArgumentException: setMuteBehavior:). -->
    <allowed-os-versions>
        <os-version min="14.2"/>
    </allowed-os-versions>
    <welcome file="welcome.html"/>
    <license file="license.html"/>
    <choices-outline>
        <line choice="daemon"/>
        <line choice="driver"/>
        <line choice="app"/>
        <line choice="plugin-vst3"/>
        <line choice="plugin-au"/>
        <line choice="plugin-aax"/>
        <line choice="launchd-daemon"/>
        <line choice="launchd-app"/>
        <line choice="uninstall"/>
    </choices-outline>
    <choice id="daemon" title="Daemon">
        <pkg-ref id="com.audioroute.daemon"/>
    </choice>
    <choice id="driver" title="Virtual Audio Device">
        <pkg-ref id="com.audioroute.driver"/>
    </choice>
    <choice id="app" title="Menu Bar App">
        <pkg-ref id="com.audioroute.app"/>
    </choice>
    <choice id="plugin-vst3" title="VST3 Plugin">
        <pkg-ref id="com.audioroute.plugin.vst3"/>
    </choice>
    <choice id="plugin-au" title="AU Plugin">
        <pkg-ref id="com.audioroute.plugin.au"/>
    </choice>
    <choice id="plugin-aax" title="AAX Plugin (Pro Tools)">
        <pkg-ref id="com.audioroute.plugin.aax"/>
    </choice>
    <choice id="launchd-daemon" title="Daemon Auto-Start">
        <pkg-ref id="com.audioroute.launchd.daemon"/>
    </choice>
    <choice id="launchd-app" title="App Auto-Start">
        <pkg-ref id="com.audioroute.launchd.app"/>
    </choice>
    <choice id="uninstall" title="Uninstaller">
        <pkg-ref id="com.audioroute.uninstall"/>
    </choice>
    <pkg-ref id="com.audioroute.daemon" version="1.2.10" installKBytes="1636" updateKBytes="0">#daemon.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.driver" version="1.2.10" installKBytes="181" updateKBytes="0">#driver.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.app" version="1.2.10" installKBytes="22840" updateKBytes="0">#app.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.plugin.vst3" version="1.2.10" installKBytes="40654" updateKBytes="0">#plugin.vst3.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.plugin.au" version="1.2.10" installKBytes="39971" updateKBytes="0">#plugin.au.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.plugin.aax" version="1.2.10" installKBytes="54674" updateKBytes="0">#plugin.aax.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.launchd.daemon" version="1.2.10" installKBytes="0" updateKBytes="0">#launchd.daemon.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.launchd.app" version="1.2.10" installKBytes="0" updateKBytes="0">#launchd.app.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.uninstall" version="1.2.10" installKBytes="13" updateKBytes="0">#uninstall.pkg</pkg-ref>
    <pkg-ref id="com.audioroute.daemon">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.audioroute.driver">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="com.audioroute.driver" path="Library/Audio/Plug-Ins/HAL/AudioRouteDriver.driver"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.audioroute.app">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.2.10" CFBundleVersion="1.2.10" id="com.audioroute.app" path="Applications/AudioRoute.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.audioroute.plugin.vst3">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.2.10" CFBundleVersion="1.2.10" id="com.audioroute.capture" path="Library/Audio/Plug-Ins/VST3/AudioRoute Capture.vst3"/>
            <bundle CFBundleShortVersionString="1.2.10" CFBundleVersion="1.2.10" id="com.audioroute.capture.effect" path="Library/Audio/Plug-Ins/VST3/AudioRoute Capture FX.vst3"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.audioroute.plugin.au">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.2.10" CFBundleVersion="1.2.10" id="com.audioroute.capture" path="Library/Audio/Plug-Ins/Components/AudioRoute Capture.component"/>
            <bundle CFBundleShortVersionString="1.2.10" CFBundleVersion="1.2.10" id="com.audioroute.capture.effect" path="Library/Audio/Plug-Ins/Components/AudioRoute Capture FX.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.audioroute.plugin.aax">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.2.10" CFBundleVersion="1.2.10" id="com.audioroute.capture" path="Library/Application Support/Avid/Audio/Plug-Ins/AudioRoute Capture.aaxplugin"/>
            <bundle CFBundleShortVersionString="1.2.10" CFBundleVersion="1.2.10" id="com.audioroute.capture.effect" path="Library/Application Support/Avid/Audio/Plug-Ins/AudioRoute Capture FX.aaxplugin"/>
            <bundle CFBundleShortVersionString="6.0.0 GM (b6838, ca532da7)" CFBundleVersion="6.0.0.6838" id="com.paceap.eden.dsig.bundle" path="Library/Application Support/Avid/Audio/Plug-Ins/AudioRoute Capture.aaxplugin/Contents/__Pace_Eden.bundle"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.audioroute.launchd.daemon">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.audioroute.launchd.app">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.audioroute.uninstall">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>