<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>INSTALL_TITLE</title>
    <background-darkAqua alignment="bottomleft" mime-type="image/png" scaling="none" file="Logo_Webroot_Light1x.png"/>
    <background alignment="bottomleft" mime-type="image/png" scaling="none" file="Logo_Webroot_Dark1x.png"/>
    <welcome file="welcome.html"/>
    <license file="license.html"/>
    <conclusion file="conclusion.html"/>
    <allowed-os-versions>
        <os-version min="10.10"/>
    </allowed-os-versions>
    <options customize="never" hostArchitectures="x86_64,arm64" require-scripts="true"/>
    <script><![CDATA[
        function isCatalinaAndAbove() {
            var isCatalinaOrHigher = system.compareVersions(my.target.systemVersion.ProductVersion, '10.15');
            return isCatalinaOrHigher >= 0;
        }
        function isPreCatalina(){
            return !isCatalinaAndAbove();
        }
        ]]></script>
    <choices-outline>
        <line choice="default"/>
        <line choice="legacy"/>
    </choices-outline>
    <choice id="default" title="Webroot SecureAnywhere" enabled="false" selected="isCatalinaAndAbove()">
        <pkg-ref id="defaultPackage">wsa.pkg</pkg-ref>
    </choice>
    <choice id="legacy" title="Webroot SecureAnywhere Legacy" enabled="false" selected="isPreCatalina()">
        <pkg-ref id="legacyPackage">legacy.pkg</pkg-ref>
    </choice>
    <pkg-ref id="defaultPackage" packageIdentifier="com.webroot.Webroot-SecureAnywhere" version="9.5.1" installKBytes="13640">
        <bundle-version>
            <bundle CFBundleShortVersionString="9.5.1" CFBundleVersion="135" id="com.webroot.Webroot-SecureAnywhere" path="Webroot SecureAnywhere.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="legacyPackage" packageIdentifier="com.webroot.Webroot-SecureAnywhere" version="9.0.13" installKBytes="11374">
        <bundle-version>
            <bundle CFBundleShortVersionString="9.0.13.8" CFBundleVersion="9.0.13.8" id="com.webroot.Webroot-SecureAnywhere" path="Webroot SecureAnywhere.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="defaultPackage">#wsa.pkg</pkg-ref>
    <pkg-ref id="legacyPackage">#legacy.pkg</pkg-ref>
</installer-gui-script>