<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>KernSafe KVault Initiator</title>
    <organization>local.cdpfs</organization>
    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
    <options customize="never" hostArchitectures="arm64,x86_64"/>
    <installation-check script="checkMinimumOS()"/>
    <script>
        function checkMinimumOS() {
            var minimumVersion = "26.0";
            var currentVersion = system.version.ProductVersion;
            if (system.compareVersions(currentVersion, minimumVersion) &lt; 0) {
                my.result.title = "macOS 26.0 or later is required";
                my.result.message = "KernSafe KVault Initiator requires macOS 26.0 or later. This Mac is running macOS " + currentVersion + ".";
                return false;
            }
            return true;
        }
    </script>
    <welcome file="welcome.html" mime-type="text/html"/>
    <license file="license.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <choices-outline>
        <line choice="local.cdpfs.ISCSIInitiator.choice"/>
    </choices-outline>
    <choice id="local.cdpfs.ISCSIInitiator.choice" title="KernSafe KVault Initiator" description="Install the KernSafe KVault Initiator application and its file system extension.">
        <pkg-ref id="local.cdpfs.ISCSIInitiator.pkg"/>
    </choice>
    <pkg-ref id="local.cdpfs.ISCSIInitiator.pkg" version="1.0.0" auth="root" installKBytes="14285" updateKBytes="0">#cdpfs-iscsi-component.pkg</pkg-ref>
    <pkg-ref id="local.cdpfs.ISCSIInitiator.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="3" id="local.cdpfs.ISCSIInitiator.Extension" path="Applications/KernSafe KVault Initiator.app/Contents/Extensions/ISCSIInitiatorExtension.appex"/>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="3" id="local.cdpfs.ISCSIInitiator" path="Applications/KernSafe KVault Initiator.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>