<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="2">
    <!-- product (for app-store) -->
    <domains enable_localSystem="true"/>
    <options customize="never" allow-external-scripts="no"/>
    <title>Adobe Acrobat DC (15.006.30527)</title>
    <!-- welcome file="Welcome.rtf" mime-type="text/rtf" / -->
    <!-- readme file="ReadMe.html" mime-type="text/html"/ -->
    <script>function QuitAcroWarning() {
	my.result.type = 'Warn';
	my.result.message = system.localizedString(system.localizedString('QUIT_ACROBAT_WARNING'));
	my.result.title = system.localizedString(system.localizedString('QUIT_ACROBAT_WARNING_TITLE'));
	return true;
}

</script>
    <background alignment="center" file="AcrobatBackgroundDarkMode.png" mime-type="image/png" scaling="tofit"/>
    <background-darkAqua alignment="center" file="AcrobatBackgroundDarkMode.png" mime-type="image/png" scaling="tofit"/>
    <choice description="Adobe Acrobat Pro Patch" description-mime-type="text/plain" enabled="false" id="Patch" start_enabled="true" start_selected="true" start_visible="false" title="Adobe Acrobat Next Pro (15.006.30527)">
        <pkg-ref id="com.adobe.acrobat.AcrobatUpd1500630527" onConclusion="none" version="15.006.30527" auth="Root">payload.pkg</pkg-ref>
    </choice>
    <choice id="AAM" start_visible="false" title="Adobe Application Manager">
        <pkg-ref id="com.adobe.PDApp.AdobeApplicationManager.installer.pkg" active="InstallationCheckForAAM()" onConclusion="none" version="15.006.30527">aam.pkg</pkg-ref>
    </choice>
    <choice id="AcroServicesUpdater" start_visible="false" title="Acrobat Services Updater">
        <pkg-ref id="com.adobe.AcroServicesUpdater" onConclusion="none" version="12.0.00">AcroServicesUpdater.pkg</pkg-ref>
    </choice>
    <choices-outline>
        <line choice="Patch"/>
        <line choice="AAM"/>
        <line choice="AcroServicesUpdater"/>
    </choices-outline>
    <installation-check script="InstallationCheck()"/>
    <volume-check script="VolumeCheck()">
        <allowed-os-versions>
            <os-version min="10.12"/>
        </allowed-os-versions>
    </volume-check>
    <script><![CDATA[
        var gOSMinimumVersion = '10.12';
        var gOSMinimumVersionSkipAAM = '10.15';

        function InstallationCheck()
        {
            if(system.compareVersions(system.version.ProductVersion, gOSMinimumVersion) == -1)
            {
                my.result.title = system.localizedString(system.localizedString('ERROR_SYSTEM_VERSION_TITLE'));
                my.result.message = system.localizedStringWithFormat(system.localizedString('ERROR_SYSTEM_VERSION_MSG'));
                my.result.type = 'Fatal';
                return false;
            }

            return true;
        }
        function InstallationCheckForAAM()
        {
            if(system.compareVersions(system.version.ProductVersion, gOSMinimumVersionSkipAAM) == -1)
                return true;
            return false;
        }
	function VolumeCheck()
        {
            return true;
        }
		
        ]]></script>
    <pkg-ref id="com.adobe.acrobat.AcrobatUpd1500630527" packageIdentifier="com.adobe.acrobat.Acrobat2015Upd1500630527" installKBytes="31639">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.adobe.PDApp.AdobeApplicationManager.installer.pkg" installKBytes="0">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.adobe.AcroServicesUpdater" installKBytes="12626">
        <bundle-version>
            <bundle CFBundleVersion="15.006.30527" id="com.adobe.AdobeRNAWebInstaller" path="AcroServicesUpdater.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.adobe.acrobat.AcrobatUpd1500630527">#payload.pkg</pkg-ref>
    <pkg-ref id="com.adobe.PDApp.AdobeApplicationManager.installer.pkg">#aam.pkg</pkg-ref>
    <pkg-ref id="com.adobe.AcroServicesUpdater">#AcroServicesUpdater.pkg</pkg-ref>
</installer-gui-script>
