<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!-- The installer's distribution, rendered by scripts/release/build-pkg.sh (the
     version placeholders are replaced; docs/release.md "The installer").
     Two component packages, each in a hidden choice: the window in /Applications and the
     plug-in in the all-users Lightroom Modules folder. Only the boot volume, only for all
     users, Apple silicon, macOS 13 or later. -->
<installer-gui-script minSpecVersion="2">
    <title>Chatty Chad</title>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <options customize="never" hostArchitectures="arm64" rootVolumeOnly="true"/>
    <domains enable_localSystem="true" enable_anywhere="false" enable_currentUserHome="false"/>
    <allowed-os-versions>
        <os-version min="13.0"/>
    </allowed-os-versions>
    <product id="com.remesch.lrcbuddy" version="0.9.2"/>
    <choices-outline>
        <line choice="com.remesch.lrcbuddy.app.pkg"/>
        <line choice="com.remesch.lrcbuddy.plugin.pkg"/>
    </choices-outline>
    <choice id="com.remesch.lrcbuddy.app.pkg" visible="false" title="Chatty Chad">
        <pkg-ref id="com.remesch.lrcbuddy.app.pkg"/>
    </choice>
    <choice id="com.remesch.lrcbuddy.plugin.pkg" visible="false" title="Chatty Chad plug-in for Lightroom Classic">
        <pkg-ref id="com.remesch.lrcbuddy.plugin.pkg"/>
    </choice>
    <pkg-ref id="com.remesch.lrcbuddy.app.pkg" version="0.9.2" onConclusion="none" installKBytes="16651" updateKBytes="0">#app.pkg</pkg-ref>
    <pkg-ref id="com.remesch.lrcbuddy.plugin.pkg" version="0.9.2" onConclusion="none" installKBytes="151" updateKBytes="0">#plugin.pkg</pkg-ref>
    <!-- productbuild adds a bundle-version element with the window's version to the app's
         pkg-ref; build-pkg.sh empties it, so nothing here can make Installer skip a downgrade (the
         rollback path), as BundleIsVersionChecked false does for the component. -->
    <pkg-ref id="com.remesch.lrcbuddy.app.pkg">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.remesch.lrcbuddy.plugin.pkg">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>