<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <title>Stillwell Channel 4.0.0</title>
    <welcome file="readme-osx.rtf"/>
    <license file="license.rtf"/>
    <options customize="allow" require-scripts="true"/>
    <script><![CDATA[
function choiceIsSelected(choiceID) {
    if (typeof choices === "undefined") {
        return false;
    }
    var choice = choices[choiceID];
    return !!(choice && choice.selected);
}

function cleanupForDeselected(choiceID) {
    return !choiceIsSelected(choiceID);
}

function cleanupForMissingFormat() {
    return true;
}
]]></script>
    <choices-outline>
        <line choice="vst3"/>
        <line choice="clap"/>
        <line choice="components"/>
        <line choice="vst"/>
        <line choice="aax"/>
        <line choice="cleanup_vst3"/>
        <line choice="cleanup_clap"/>
        <line choice="cleanup_components"/>
        <line choice="cleanup_vst"/>
        <line choice="cleanup_aax"/>
    </choices-outline>
    <choice id="vst3" title="VST3 Plug-in" description="Install to /Library/Audio/Plug-Ins/VST3. Deselect to remove an existing VST3 install." start_selected="true" start_visible="true" start_enabled="true">
        <pkg-ref id="com.stillwellaudio.pkg.channel.vst3"/>
    </choice>
    <choice id="clap" title="CLAP Plug-in" description="Install to /Library/Audio/Plug-Ins/CLAP. Deselect to remove an existing CLAP install." start_selected="true" start_visible="true" start_enabled="true">
        <pkg-ref id="com.stillwellaudio.pkg.channel.clap"/>
    </choice>
    <choice id="components" title="AU Plug-in" description="Install to /Library/Audio/Plug-Ins/Components. Deselect to remove an existing AU install." start_selected="true" start_visible="true" start_enabled="true">
        <pkg-ref id="com.stillwellaudio.pkg.channel.components"/>
    </choice>
    <choice id="vst" title="VST2 Plug-in" description="Install to /Library/Audio/Plug-Ins/VST. Deselect to remove an existing VST2 install." start_selected="true" start_visible="true" start_enabled="true">
        <pkg-ref id="com.stillwellaudio.pkg.channel.vst"/>
    </choice>
    <choice id="aax" title="AAX Plug-in" description="Install to /Library/Application Support/Avid/Audio/Plug-Ins. Deselect to remove an existing AAX install." start_selected="true" start_visible="true" start_enabled="true">
        <pkg-ref id="com.stillwellaudio.pkg.channel.aax"/>
    </choice>
    <choice id="cleanup_vst3" title="VST3 Plug-in Sync" description="Synchronizes VST3 Plug-in selections with the files on disk." start_selected="false" start_visible="false" start_enabled="true" visible="false" selected="cleanupForDeselected('vst3')">
        <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.vst3"/>
    </choice>
    <choice id="cleanup_clap" title="CLAP Plug-in Sync" description="Synchronizes CLAP Plug-in selections with the files on disk." start_selected="false" start_visible="false" start_enabled="true" visible="false" selected="cleanupForDeselected('clap')">
        <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.clap"/>
    </choice>
    <choice id="cleanup_components" title="AU Plug-in Sync" description="Synchronizes AU Plug-in selections with the files on disk." start_selected="false" start_visible="false" start_enabled="true" visible="false" selected="cleanupForDeselected('components')">
        <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.components"/>
    </choice>
    <choice id="cleanup_vst" title="VST2 Plug-in Sync" description="Synchronizes VST2 Plug-in selections with the files on disk." start_selected="false" start_visible="false" start_enabled="true" visible="false" selected="cleanupForDeselected('vst')">
        <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.vst"/>
    </choice>
    <choice id="cleanup_aax" title="AAX Plug-in Sync" description="Synchronizes AAX Plug-in selections with the files on disk." start_selected="false" start_visible="false" start_enabled="true" visible="false" selected="cleanupForDeselected('aax')">
        <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.aax"/>
    </choice>
    <pkg-ref id="com.stillwellaudio.pkg.channel.vst3" version="4.0.0" installKBytes="48405" updateKBytes="0">#vst3.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.clap" version="4.0.0" installKBytes="47656" updateKBytes="0">#clap.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.components" version="4.0.0" installKBytes="47694" updateKBytes="0">#components.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.vst" version="4.0.0" installKBytes="47604" updateKBytes="0">#vst.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.aax" version="4.0.0" installKBytes="48339" updateKBytes="0">#aax.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.vst3" version="4.0.0" installKBytes="0" updateKBytes="0">#cleanup_vst3.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.clap" version="4.0.0" installKBytes="0" updateKBytes="0">#cleanup_clap.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.components" version="4.0.0" installKBytes="0" updateKBytes="0">#cleanup_components.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.vst" version="4.0.0" installKBytes="0" updateKBytes="0">#cleanup_vst.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.aax" version="4.0.0" installKBytes="0" updateKBytes="0">#cleanup_aax.pkg</pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.vst3">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.0.0" CFBundleVersion="4.0.0" id="com.stillwellaudio.vst3.channel" path="Library/Audio/Plug-Ins/VST3/channel.vst3"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.clap">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.0.0" CFBundleVersion="4.0.0" id="com.stillwellaudio.clap.channel" path="Library/Audio/Plug-Ins/CLAP/channel.clap"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.components">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.0.0" CFBundleVersion="4.0.0" id="com.stillwellaudio.audiounit.channel" path="Library/Audio/Plug-Ins/Components/channel.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.vst">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.0.0" CFBundleVersion="4.0.0" id="com.stillwellaudio.vst.channel" path="Library/Audio/Plug-Ins/VST/channel.vst"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.aax">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.0.0" CFBundleVersion="4.0.0" id="com.stillwellaudio.aax.channel" path="Library/Application Support/Avid/Audio/Plug-Ins/channel.aaxplugin"/>
            <bundle CFBundleShortVersionString="6.0.1 GM (b6847, f802503d)" CFBundleVersion="6.0.1.6847" id="com.paceap.eden.dsig.bundle" path="Library/Application Support/Avid/Audio/Plug-Ins/channel.aaxplugin/Contents/__Pace_Eden.bundle"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.vst3">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.clap">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.components">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.vst">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.stillwellaudio.pkg.channel.cleanup.aax">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>