<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>ASReml</title>
    <welcome file="Welcome.html"/>
    <license file="License.rtf"/>
    <conclusion file="readme.html"/>
    <options allow-external-scripts="no" customize="allow" rootVolumeOnly="false"/>
    <choices-outline>
        <line choice="UnspecifiedChoice"/>
        <line choice="applicationsChoice"/>
        <line choice="documentationChoice"/>
        <line choice="examplesChoice"/>
    </choices-outline>
    <choice id="UnspecifiedChoice" title="Unspecified" start_selected="true" start_enabled="false" start_visible="false">
        <pkg-ref id="com.VSNi.ASReml.Unspecified"/>
    </choice>
    <pkg-ref id="com.VSNi.ASReml.Unspecified" version="4.3.0.2" installKBytes="2" onConclusion="None" updateKBytes="0">#ASReml-4.3.0.2-macOS15_Sequoia_arm64-15.0.1-16-Apr-2026-0850-Unspecified.pkg</pkg-ref>
    <choice id="applicationsChoice" title="ASReml Application" start_selected="true" start_enabled="true" start_visible="true" description="ASReml Statistical Software">
        <pkg-ref id="com.VSNi.ASReml.applications"/>
    </choice>
    <pkg-ref id="com.VSNi.ASReml.applications" version="4.3.0.2" installKBytes="19507" onConclusion="None" updateKBytes="0">#ASReml-4.3.0.2-macOS15_Sequoia_arm64-15.0.1-16-Apr-2026-0850-applications.pkg</pkg-ref>
    <choice id="documentationChoice" title="ASReml Documentation" start_selected="true" start_enabled="true" start_visible="true">
        <pkg-ref id="com.VSNi.ASReml.documentation"/>
    </choice>
    <pkg-ref id="com.VSNi.ASReml.documentation" version="4.3.0.2" installKBytes="14288" onConclusion="None" updateKBytes="0">#ASReml-4.3.0.2-macOS15_Sequoia_arm64-15.0.1-16-Apr-2026-0850-documentation.pkg</pkg-ref>
    <choice id="examplesChoice" title="ASReml Example scripts" start_selected="true" start_enabled="true" start_visible="true">
        <pkg-ref id="com.VSNi.ASReml.examples"/>
    </choice>
    <pkg-ref id="com.VSNi.ASReml.examples" version="4.3.0.2" installKBytes="2624" onConclusion="None" updateKBytes="0">#ASReml-4.3.0.2-macOS15_Sequoia_arm64-15.0.1-16-Apr-2026-0850-examples.pkg</pkg-ref>
    <installation-check script="installation_check()"/>
    <volume-check script="true">
        <allowed-os-versions>
            <os-version min="10.13.0"/>
        </allowed-os-versions>
    </volume-check>
    <script><![CDATA[
    function installation_check () {
    system.log("Checking for XQuartz")
    found = system.files.fileExistsAtPath("/Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin")
    if ( found === false ){
        my.result.type = "Fatal"
        my.result.message = "Failed to locate XQuartz installation ( https://xquartz.org )"
        system.log(my.result.message)
    }
    return found
    }
    ]]></script>
    <pkg-ref id="com.VSNi.ASReml.Unspecified">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.VSNi.ASReml.applications">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.VSNi.ASReml.documentation">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.VSNi.ASReml.examples">
        <bundle-version/>
    </pkg-ref>
    <product version="4.3.0.2"/>
</installer-gui-script>