<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>RackLink</title>
    <options customize="always" hostArchitectures="x86_64,arm64" require-scripts="true"/>
    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="10.13"/>
        </allowed-os-versions>
    </volume-check>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <choices-outline>
        <line choice="core"/>
        <line choice="driver"/>
        <line choice="client"/>
        <line choice="shortcuts"/>
    </choices-outline>
    <choice id="core" title="Diagnostics and Uninstaller" description="Required diagnostic utility and RackLink Uninstaller." start_selected="true" visible="false" enabled="false" selected="true">
        <pkg-ref id="com.ocvex.racklink.core"/>
    </choice>
    <pkg-ref id="com.ocvex.racklink.core" version="0.1.0" installKBytes="11762" updateKBytes="0">#core.pkg</pkg-ref>
    <choice id="driver" title="CoreAudio Driver and Settings" description="Virtual Rack Link audio device for your DAW, with driver settings. Close audio applications: installing this component restarts system audio." start_selected="true" enabled="choices.client.selected">
        <pkg-ref id="com.ocvex.racklink.driver"/>
    </choice>
    <pkg-ref id="com.ocvex.racklink.driver" version="0.1.0" installKBytes="12162" updateKBytes="0">driver.pkg<must-close>
            <app id="com.ocvex.racklink.client"/>
            <app id="com.ocvex.racklink.settings"/>
        </must-close>
        <bundle-version>
            <bundle CFBundleShortVersionString="0.1.0" CFBundleVersion="0.1.0" id="com.ocvex.racklink.coreaudio" path="Library/Audio/Plug-Ins/HAL/RackLinkCoreAudio.driver"/>
            <bundle CFBundleShortVersionString="0.1.0" CFBundleVersion="0.1.0" id="com.ocvex.racklink.settings" path="Applications/RackLink/RackLinkSettings.app"/>
        </bundle-version>
    </pkg-ref>
    <choice id="client" title="Client and Control Panel" description="RackLink Control, Engine and local audio playback. Find RackLinkClient in Applications/RackLink." start_selected="true" enabled="choices.driver.selected">
        <pkg-ref id="com.ocvex.racklink.client"/>
    </choice>
    <pkg-ref id="com.ocvex.racklink.client" version="0.1.0" installKBytes="13990" updateKBytes="0">client.pkg<must-close>
            <app id="com.ocvex.racklink.client"/>
            <app id="com.ocvex.racklink.settings"/>
        </must-close>
        <bundle-version>
            <bundle CFBundleShortVersionString="0.1.0" CFBundleVersion="0.1.0" id="com.ocvex.racklink.client" path="Applications/RackLink/RackLinkClient.app"/>
        </bundle-version>
    </pkg-ref>
    <choice id="shortcuts" title="Desktop Shortcut" description="A RackLink Control shortcut for the currently signed-in user. Requires Client and Control Panel." start_selected="true" enabled="choices.client.selected" selected="my.choice.selected &amp;&amp; choices.client.selected">
        <pkg-ref id="com.ocvex.racklink.shortcuts"/>
    </choice>
    <pkg-ref id="com.ocvex.racklink.shortcuts" version="0.1.0" active="choices.client.selected" installKBytes="0" updateKBytes="0">#shortcuts.pkg</pkg-ref>
    <pkg-ref id="com.ocvex.racklink.core">
        <bundle-version>
            <bundle CFBundleShortVersionString="0.1.0" CFBundleVersion="0.1.0" id="com.ocvex.racklink.uninstaller" path="Applications/RackLink/RackLink Uninstaller.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.ocvex.racklink.shortcuts">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.ocvex.racklink.driver">#driver.pkg</pkg-ref>
    <pkg-ref id="com.ocvex.racklink.client">#client.pkg</pkg-ref>
</installer-gui-script>