<?xml version="1.0" encoding="UTF-8"?>
<installer-gui-script authoringTool="Packages" authoringToolVersion="1.2.11" authoringToolBuild="765" minSpecVersion="1.0">
    <options hostArchitectures="arm64,x86_64"/>
    <volume-check script="volume_check()"/>
    <!--+==========================+
        |       Presentation       |
        +==========================+-->
    <title>DISTRIBUTION_TITLE</title>
    <readme file="readme.txt"/>
    <license file="license.txt"/>
    <!--+==========================+
        |         Installer        |
        +==========================+-->
    <choices-outline>
        <line choice="installer_choice_1"/>
        <line choice="installer_choice_2"/>
        <line choice="installer_choice_3"/>
    </choices-outline>
    <choice id="installer_choice_1" title="apeCsound" description="INSTALLER_CHOICE_1_DESCRIPTION">
        <pkg-ref id="it.apeSoft.apeCsound.app"/>
    </choice>
    <choice id="installer_choice_2" title="VST3" description="INSTALLER_CHOICE_2_DESCRIPTION">
        <pkg-ref id="it.apeSoft.apeCsound.vst3"/>
    </choice>
    <choice id="installer_choice_3" title="AU" description="">
        <pkg-ref id="it.apeSoft.apeCsound.component"/>
    </choice>
    <!--+==========================+
        |    Package References    |
        +==========================+-->
    <pkg-ref id="it.apeSoft.apeCsound.vst3" version="1.0.2" auth="Root" installKBytes="32445">#VST3.pkg</pkg-ref>
    <pkg-ref id="it.apeSoft.apeCsound.component" version="1.0.2" auth="Root" installKBytes="32397">#AU.pkg</pkg-ref>
    <pkg-ref id="it.apeSoft.apeCsound.app" version="1.0.2" auth="Root" installKBytes="32222">#apeCsound.pkg</pkg-ref>
    <!--+==========================+
        |    JavaScript Scripts    |
        +==========================+-->
    <script>

	const __IC_FLAT_DISTRIBUTION__=true;
	function IC_CheckMinimumAvailableDiskSpace(inMinimumAvailableSpaceKB)
	{
		return (my.target.availableKilobytes&gt;=inMinimumAvailableSpaceKB);
	}

	function volume_check()
	{
		var tResult;

		tResult=IC_CheckMinimumAvailableDiskSpace(419430400);

		if (tResult==false)
		{
			my.result.type = 'Fatal';
		}

		return tResult;
	}

    </script>
</installer-gui-script>