<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1">
    <title>title</title>
    <background mime-type="image/png" file="background.png" alignment="left"/>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <options customize="never" allow-external-scripts="no" hostArchitectures="x86_64,arm64"/>
    <domains enable_localSystem="true"/>
    <installation-check script="installCheck();"/>
    <script>
function installCheck() {
    if(!(system.compareVersions(system.version.ProductVersion, '10.6.0') &gt;= 0)) {
        my.result.title = system.localizedString('unsupported_version_title');
        my.result.message = system.localizedString('unsupported_version_message');
        my.result.type = 'Fatal';
        return false;
    }
    if(system.files.fileExistsAtPath('/Applications/Mozilla VPN.app')) {
        my.result.title = system.localizedString('previous_build_title');
        my.result.message = system.localizedString('previous_build_message');
        my.result.type = 'Warning';
        return false;
    }
    return true;
}
    </script>
    <choices-outline>
        <line choice="MozillaVPN"/>
    </choices-outline>
    <choice id="MozillaVPN" title="MozillaVPN">
        <pkg-ref id="MozillaVPN.pkg"/>
    </choice>
    <pkg-ref id="MozillaVPN.pkg" auth="Root" packageIdentifier="org.mozilla.macos.FirefoxVPN" version="2.0" installKBytes="148571">#MozillaVPN.pkg</pkg-ref>
    <pkg-ref id="MozillaVPN.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="2.24.3" CFBundleVersion="2.202410301932" id="org.mozilla.macos.FirefoxVPN" path="Mozilla VPN.app"/>
            <bundle CFBundleShortVersionString="2.24.3" CFBundleVersion="2.202410301932" id="org.mozilla.macos.FirefoxVPN.login-item" path="Mozilla VPN.app/Contents/Library/LoginItems/MozillaVPNLoginItem.app"/>
        </bundle-version>
    </pkg-ref>
</installer-script>