<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1">
    <title>CoreseePlus</title>
    <background mime-type="image/png" file="banner.png" scaling="proportional"/>
    <background-darkAqua 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="Coresee_Terms_of_Service.rtf"/>
    <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.6.0') &gt;= 0)) {
        my.result.title = 'Unable to install';
        my.result.message = 'CoreseePlus requires Mac OS X 10.6 or later.';
        my.result.type = 'Fatal';
        return false;
    }
    if(system.files.fileExistsAtPath('/Library/CoreseePlus/26.2.0/')) {
        my.result.title = 'Previous Installation Detected';
        my.result.message = 'A previous installation of CoreseePlus exists at /Library/CoreseePlus/26.2.0/. 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="CoreseePlus"/>
    </choices-outline>
    <choice id="CoreseePlus" title="CoreseePlus">
        <pkg-ref id="CoreseePlus.pkg"/>
    </choice>
    <pkg-ref id="CoreseePlus.pkg" auth="Root">#CoreseePlus.pkg</pkg-ref>
    <pkg-ref id="CoreseePlus.pkg" packageIdentifier="org.CoreseePlus.26.2.0" version="26.2.0" installKBytes="72144" updateKBytes="0">
        <must-close>
            <app id="com.adobe.PremierePro.24"/>
            <app id="com.adobe.PremierePro.25"/>
            <app id="com.adobe.AfterEffects.24"/>
            <app id="com.adobe.AfterEffects.25"/>
        </must-close>
        <bundle-version>
            <bundle CFBundleShortVersionString="26.2.0" id="com.LMMV.CoreseePlus" path="Library/CoreseePlus/26.2.0/CoreseePlus.bundle"/>
        </bundle-version>
    </pkg-ref>
</installer-script>