<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="1">
    <title>Java Service Wrapper 3.5.44</title>
    <background mime-type="image/png" file="banner.png" scaling="proportional"/>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <license file="LICENSE.txt"/>
    <options customize="never" allow-external-scripts="no"/>
    <domains enable_localSystem="true"/>
    <installation-check script="installCheck();"/>
    <script>
function installCheck() {
    if(!(system.compareVersions(system.version.ProductVersion, '10.12.0') &gt;= 0)) {
        my.result.title = 'Unable to install';
        my.result.message = 'Java Service Wrapper requires Mac OS X 10.12 or later.';
        my.result.type = 'Fatal';
        return false;
    }
    if(system.files.fileExistsAtPath('/usr/local/Cellar/wrapper/3.5.44/')) {
        my.result.title = 'Previous Installation Detected';
        my.result.message = 'A previous installation of Java Service Wrapper exists at /usr/local/Cellar/wrapper/3.5.44.  This installer will remove the previous installation prior to installing.  Please back up any data before proceeding.';
        my.result.type = 'Warning';
        return false;
    }
    return true;
}
    </script>
    <choices-outline>
        <line choice="Java Service Wrapper"/>
    </choices-outline>
    <choice id="Java Service Wrapper" title="Java Service Wrapper">
        <pkg-ref id="wrapper-macosx-universal-32-3.5.44.pkg"/>
    </choice>
    <pkg-ref id="wrapper-macosx-universal-32-3.5.44.pkg" auth="Root" packageIdentifier="com.tanukisoftware.wrapper.3.5.44" version="3.5.44" installKBytes="2163">#wrapper-macosx-universal-32-3.5.44.pkg</pkg-ref>
    <pkg-ref id="wrapper-macosx-universal-32-3.5.44.pkg">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>