<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <options launchMode="integrated" require-scripts="true" hostArchitectures="i386,x86_64" customize="never" launch="true" major-os-update="true" rootVolumeOnly="true" visibleOnlyForPredicate="true"/>
    <title>SU_TITLE</title>
    <script/>
    <volume-check script="VolumeCheck()">
        <allowed-os-versions>
            <os-version min="10.9"/>
        </allowed-os-versions>
    </volume-check>
    <installation-check script="InstallationCheck()"/>
    <tags>
        <tag>SUBUNDLE:com.apple.InstallAssistant.Catalina</tag>
        <tag>CUSTOMER</tag>
    </tags>
    <auxinfo>
        <dict>
            <key>BUILD</key>
            <string>19E2269</string>
            <key>VERSION</key>
            <string>10.15.4</string>
        </dict>
    </auxinfo>
    <platforms>
        <client arch="i386"/>
        <server arch="i386"/>
    </platforms>
    <choices-outline ui="InstallAssistant">
        <line choice="InstallAssistantShell"/>
    </choices-outline>
    <choices-outline ui="SoftwareUpdate">
        <line choice="InstallAssistantAuto"/>
    </choices-outline>
    <choices-outline ui="MajorOSInfo">
        <line choice="MajorOSInfo"/>
    </choices-outline>
    <choices-outline>
        <line choice="InstallAssistantAuto"/>
    </choices-outline>
    <choice id="MajorOSInfo" title="SU_TITLE" start_enabled="true" start_selected="true">
        <pkg-ref id="MajorOSInfo" auth="Root" packageIdentifier="com.apple.pkg.MajorOSInfo">MajorOSInfo.pkg</pkg-ref>
    </choice>
    <choice id="InstallAssistantAuto" description-mime-type="text/html" secondaryDescription="SU_SERVERCOMMENT" suDisabledGroupID="macOS Catalina" start_selected="true" versStr="SU_VERS" description="SU_DESCRIPTION" title="SU_TITLE" start_enabled="true">
        <pkg-ref id="InstallAssistantAuto" auth="Root" packageIdentifier="com.apple.pkg.InstallAssistantAuto">InstallAssistantAuto.pkg</pkg-ref>
        <pkg-ref id="InstallESDDmg" auth="Root" packageIdentifier="com.apple.pkg.InstallESDDmg">InstallESDDmg.pkg</pkg-ref>
        <pkg-ref id="RecoveryHDMetaDmg" auth="Root" packageIdentifier="com.apple.pkg.RecoveryHDMetaDmg">RecoveryHDMetaDmg.pkg</pkg-ref>
    </choice>
    <choice id="InstallAssistantShell" title="SU_TITLE" start_enabled="true" start_selected="true">
        <pkg-ref id="InstallESDDmg" auth="Root" packageIdentifier="com.apple.pkg.InstallESDDmg">InstallESDDmg.pkg</pkg-ref>
        <pkg-ref id="OSInstall.mpkg" auth="Root" packageIdentifier="com.apple.mpkg.OSInstall">OSInstall.mpkg</pkg-ref>
        <pkg-ref id="BaseSystem.dmg" auth="Root" packageIdentifier="com.apple.dmg.BaseSystem">BaseSystem.dmg</pkg-ref>
        <pkg-ref id="BaseSystem.chunklist" auth="Root" packageIdentifier="com.apple.chunklist.BaseSystem">BaseSystem.chunklist</pkg-ref>
        <pkg-ref id="AppleDiagnostics.dmg" auth="Root" packageIdentifier="com.apple.dmg.AppleDiagnostics">AppleDiagnostics.dmg</pkg-ref>
        <pkg-ref id="AppleDiagnostics.chunklist" auth="Root" packageIdentifier="com.apple.chunklist.AppleDiagnostics">AppleDiagnostics.chunklist</pkg-ref>
        <pkg-ref id="InstallESDDmg.chunklist" auth="Root" packageIdentifier="com.apple.chunklist.InstallESDDmg">InstallESDDmg.chunklist</pkg-ref>
        <pkg-ref id="InstallInfo.plist" auth="Root" packageIdentifier="com.apple.plist.InstallInfo">InstallInfo.plist</pkg-ref>
    </choice>
    <script>
function InstallationCheck(prefix) {
	var boardIds = ['Mac-5F9802EFE386AA28','Mac-E7203C0F68AA0004',];
	var cpuFeatures = system.sysctl( 'machdep.cpu.features' );
	cpuFeatures=cpuFeatures.split(" ");
	for( var i = 0; i &lt; cpuFeatures.length; i++ ){
		if( cpuFeatures[i] == "VMM" ){
			return true;
		}
	}
	var nonSupportedModels = ['MacBookPro4,1','MacPro2,1','Macmini5,2','Macmini5,1','MacBookPro5,1','MacBookPro1,1','MacBookPro5,3','MacBookPro5,2','iMac8,1','MacBookPro5,4','MacBookPro8,1','iMac5,1','iMac11,2','iMac7,1','MacBookAir4,1','MacBookPro3,1','Macmini5,3','MacBookPro1,2','Macmini4,1','iMac9,1','iMac6,1','iMac4,1','Macmini1,1','iMac4,2','MacBookPro2,2','MacBookPro2,1','iMac12,2','MacBook3,1','MacPro3,1','MacBook5,1','MacBook5,2','iMac11,1','iMac10,1','MacBookPro7,1','MacBook2,1','MacPro4,1','MacBookPro6,2','iMac12,1','MacBook1,1','MacBookPro5,5','MacPro5,1','MacBookPro6,1','Xserve2,1','MacBookAir3,1','MacBookAir3,2','MacBookAir1,1','Xserve3,1','MacBookAir2,1','MacBook7,1','Xserve1,1','Macmini2,1','iMac5,2','MacBookPro8,2','MacBookPro8,3','iMac11,3','MacBook6,1','Macmini3,1','MacBook4,1','MacBookAir4,2','MacPro1,1',];
	var currentModel = system.sysctl('hw.model');
	if (nonSupportedModels.indexOf(currentModel) &gt;= 0) {
		my.result.message = system.localizedString('ERROR_6D0B216EEF');
		my.result.type = 'Fatal';
		return false;
	}
	var boardId = system.ioregistry.fromPath('IOService:/')['board-id'];
	if (boardIds.indexOf(boardId) == -1) {
		my.result.message = system.localizedString('ERROR_6D0B216EEF');
		my.result.type = 'Fatal';
		return false;
	}
	if (system.compareVersions(system.version.ProductVersion, '10.9') &lt; 0) {
		my.result.message = system.localizedStringWithFormat('ERROR_B85E600482', '10.9');
		my.result.type = 'Fatal';
		return false;
	}
	return true;
}
function VolumeCheck(prefix) {
	var myTargetSystemVersion = (my.target.systemVersion || system.files.plistAtPath(my.target.mountpoint + "/System/Library/CoreServices/SystemVersion.plist"));
	return true;
}
</script>
    <localization>
        <strings language="pl">"SU_TITLE" = "macOS Catalina";
"SU_VERS" = "10.15.4";
"SU_SERVERCOMMENT" = "Dla komputerów klienckich i serwerów";
"SU_DESCRIPTION" = '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
    &lt;head&gt;
         &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
         &lt;meta http-equiv="Content-Style-Type" content="text/css"&gt;
         &lt;title&gt;&lt;/title&gt;
         &lt;style type="text/css"&gt;
             body {font: 11.0px -apple-system;}
             p {margin: 0.0px 0.0px 0.0px 0.0px;}
         &lt;/style&gt;
     &lt;/head&gt;
     &lt;body&gt;
       &lt;p class="p1"&gt;Uaktualnienie macOS 10.15 jest zalecane dla wszystkich użytkowników.&lt;/a&gt;&lt;/p&gt;
     &lt;/body&gt;
 &lt;/html&gt;';
</strings>
    </localization>
    <pkg-ref id="MajorOSInfo" installKBytes="2054" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="InstallAssistantAuto" installKBytes="21886" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="RecoveryHDMetaDmg" installKBytes="0" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="InstallESDDmg" installKBytes="0" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="InstallInfo.plist" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="AppleDiagnostics.dmg" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="OSInstall.mpkg" installKBytes="0" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="BaseSystem.chunklist" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="InstallESDDmg.chunklist" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="AppleDiagnostics.chunklist" version="10.15.4.0.0.1587988616"/>
    <pkg-ref id="BaseSystem.dmg" version="10.15.4.0.0.1587988616"/>
</installer-gui-script>