<?xml version="1.0" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <script>
    
    function isIntel()
    {
      return system.sysctl('hw.machine') === 'x86_64';
    }
    function isArm()
    {
      return system.sysctl('hw.machine') === 'arm64';
    }

    
    </script>
    <volume-check script="true">
        <allowed-os-versions>
            <os-version min="12.7.6"/>
        </allowed-os-versions>
    </volume-check>
    <title>FFOSSO v1.4.1.7786</title>
    <welcome file="Welcome.txt"/>
    <readme file="ReadMe.txt"/>
    <license file="License.rtf"/>
    <options customize="never" hostArchitectures="x86_64,arm64" require-scripts="true" rootVolumeOnly="true"/>
    <choices-outline>
        <line choice="Create360AAXPackageComponentChoice"/>
        <line choice="Create360AUPackageComponentChoice"/>
        <line choice="Create360StandalonePackageComponentChoice"/>
        <line choice="Create360VSTPackageComponentChoice"/>
        <line choice="com.orchestraltools.backgroundservice_x86_64_choice"/>
        <line choice="com.orchestraltools.backgroundservice_arm64_choice"/>
    </choices-outline>
    <choice id="Create360AAXPackageComponentChoice" title="FFOSSO AAX Plugin" start_selected="true" start_enabled="true" start_visible="true" description="FFOSSO AAX Plugin">
        <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360AAXPackageComponent"/>
    </choice>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360AAXPackageComponent" version="1.4.1.7786" installKBytes="45380" auth="Admin" onConclusion="None" updateKBytes="0">#FFOSSO-1.4.1.7786-Create360AAXPackageComponent.pkg</pkg-ref>
    <choice id="Create360AUPackageComponentChoice" title="FFOSSO AU Component" start_selected="true" start_enabled="true" start_visible="true" description="FFOSSO Audio Unit Component (Plugin)">
        <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360AUPackageComponent"/>
    </choice>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360AUPackageComponent" version="1.4.1.7786" installKBytes="45249" auth="Admin" onConclusion="None" updateKBytes="0">#FFOSSO-1.4.1.7786-Create360AUPackageComponent.pkg</pkg-ref>
    <choice id="Create360StandalonePackageComponentChoice" title="FFOSSO Standalone" start_selected="true" start_enabled="false" start_visible="true" description="FFOSSO Standalone">
        <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360StandalonePackageComponent"/>
    </choice>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360StandalonePackageComponent" version="1.4.1.7786" installKBytes="41722" auth="Admin" onConclusion="None" updateKBytes="0">#FFOSSO-1.4.1.7786-Create360StandalonePackageComponent.pkg</pkg-ref>
    <choice id="Create360VSTPackageComponentChoice" title="FFOSSO VST3 Plugin" start_selected="true" start_enabled="true" start_visible="true" description="FFOSSO VST3 Plugin">
        <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360VSTPackageComponent"/>
    </choice>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360VSTPackageComponent" version="1.4.1.7786" installKBytes="45314" auth="Admin" onConclusion="None" updateKBytes="0">#FFOSSO-1.4.1.7786-Create360VSTPackageComponent.pkg</pkg-ref>
    <pkg-ref id="com.orchestraltools.backgroundservice_x86_64" version="0">#Service_x86_64.pkg</pkg-ref>
    <pkg-ref id="com.orchestraltools.backgroundservice_x86_64" packageIdentifier="com.orchestraltools.ffosso.servicepkg_x86_64" installKBytes="51574" updateKBytes="0">
        <must-close>
            <app id="com.orchestraltools.ffosso.standalone"/>
        </must-close>
        <bundle-version>
            <bundle CFBundleShortVersionString="0.0.0" id="com.orchestraltools.ffosso.desktopservice_x86_64" path="Library/Application Support/FFOSSO/Service/FFOSSO_Service_x86_64.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.orchestraltools.backgroundservice_arm64" version="0">#Service_arm64.pkg</pkg-ref>
    <pkg-ref id="com.orchestraltools.backgroundservice_arm64" packageIdentifier="com.orchestraltools.ffosso.servicepkg_arm64" installKBytes="50606" updateKBytes="0">
        <must-close>
            <app id="com.orchestraltools.ffosso.standalone"/>
        </must-close>
        <bundle-version>
            <bundle CFBundleShortVersionString="0.0.0" id="com.orchestraltools.ffosso.desktopservice_arm64" path="Library/Application Support/FFOSSO/Service/FFOSSO_Service_arm64.app"/>
        </bundle-version>
    </pkg-ref>
    <choice id="com.orchestraltools.backgroundservice_x86_64_choice" start_visible="false" title="FFOSSO background service (Intel)" description="FFOSSO background process. Intel 64 version" start_selected="isIntel();">
        <pkg-ref id="com.orchestraltools.backgroundservice_x86_64"/>
    </choice>
    <choice id="com.orchestraltools.backgroundservice_arm64_choice" start_visible="false" title="FFOSSO background service (Apple Silicon)" description="FFOSSO background process. Apple silicon version" start_selected="isArm();">
        <pkg-ref id="com.orchestraltools.backgroundservice_arm64"/>
    </choice>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360AAXPackageComponent">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.4.1.7786" CFBundleVersion="1.4.1.7786" id="com.orchestraltools.ffosso" path="Library/Application Support/Avid/Audio/Plug-Ins/FFOSSO.aaxplugin"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360AUPackageComponent">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.4.1.7786" CFBundleVersion="1.4.1.7786" id="com.orchestraltools.ffosso.au" path="Library/Audio/Plug-Ins/Components/FFOSSO.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360StandalonePackageComponent">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.4.1.7786" CFBundleVersion="1.4.1.7786" id="com.orchestraltools.ffosso.standalone" path="Applications/FFOSSO.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.Orchestral Tools.FFOSSO v1.4.1.7786.Create360VSTPackageComponent">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.4.1.7786" CFBundleVersion="1.4.1.7786" id="com.orchestraltools.ffosso.vst3" path="Library/Audio/Plug-Ins/VST3/FFOSSO.vst3"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>