<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
    <options customize="never" rootVolumeOnly="true"/>
    <title>SU_TITLE</title>
    <script/>
    <volume-check script="VolumeCheck()"/>
    <installation-check script="InstallationCheck()"/>
    <script>
function InstallationCheck(prefix) {
	if (system.compareVersions(system.version.ProductVersion, '10.11') &lt; 0) {
		my.result.message = system.localizedStringWithFormat('ERROR_0', '10.11');
		my.result.type = 'Fatal';
		return false;
	}
	my.result.message = system.localizedString('ERROR_1');
	if (!LogicalOr0("/")) {
		my.result.type = 'Fatal';
		return false;
	}
	return true;
}
function LogicalOr0(prefix) {
	if (typeof(my.result) != 'undefined') my.result.message = system.localizedString('ERROR_2');
	if (BundleCheck1(prefix) || Not2(prefix)) {
		return true;
	}
	return false;
}
function BundleCheck1(prefix) {
	var bundle = system.files.bundleAtPath(prefix + '/System/Library/CoreServices/RawCameraSupport.bundle');
	if (!bundle) {
		return false;
	}
	var bundleKeyValue = bundle['CFBundleShortVersionString'];
	if (!bundleKeyValue) {
		return false;
	}
	if (system.compareVersions(bundleKeyValue, '6210') &gt; 0) {
		return false;
	}
	return true;
}
function Not2(prefix) {
	if (!(BundleCheck3(prefix))) {
		return true;
	}
	return false;
}
function BundleCheck3(prefix) {
	var bundle = system.files.bundleAtPath(prefix + '/System/Library/CoreServices/RawCameraSupport.bundle');
	if (!bundle) {
		return false;
	}
	var bundleKeyValue = bundle['CFBundleShortVersionString'];
	if (!bundleKeyValue) {
		return false;
	}
	return true;
}
function VolumeCheck(prefix) {
	if (system.env.OS_INSTALL == 1) return true;
	var myTargetSystemVersion = (my.target.systemVersion || system.files.plistAtPath(my.target.mountpoint + "/System/Library/CoreServices/SystemVersion.plist"));
	if (!myTargetSystemVersion || system.compareVersions(myTargetSystemVersion.ProductVersion, '10.11') &lt; 0) {
		my.result.message = system.localizedStringWithFormat('ERROR_0', '10.11');
		my.result.type = 'Fatal';
		return false;
	}
	my.result.message = system.localizedString('ERROR_3');
	if (!LogicalOr0(my.target.mountpoint)) {
		my.result.type = 'Fatal';
		return false;
	}
	return true;
}
function LogicalOr4(prefix) {
	if (BundleCheck5(prefix) || Not2(prefix)) {
		return true;
	}
	return false;
}
function BundleCheck5(prefix) {
	var bundle = system.files.bundleAtPath(prefix + '/System/Library/CoreServices/RawCameraSupport.bundle');
	if (!bundle) {
		return false;
	}
	var bundleKeyValue = bundle['CFBundleShortVersionString'];
	if (!bundleKeyValue) {
		return false;
	}
	if (system.compareVersions(bundleKeyValue, '6210') &gt;= 0) {
		return false;
	}
	return true;
}
</script>
    <platforms>
        <client arch="i386"/>
        <server arch="i386"/>
    </platforms>
    <choices-outline ui="SoftwareUpdate">
        <line choice="su"/>
    </choices-outline>
    <choices-outline>
        <line choice="su"/>
    </choices-outline>
    <choice id="su" title="SU_TITLE" versStr="SU_VERS" description="SU_DESCRIPTION" description-mime-type="text/html" secondaryDescription="SU_SERVERCOMMENT" suDisabledGroupID="RAWCameraUpdate6.21" start_selected="true" visible="LogicalOr4('/')">
        <pkg-ref id="RAWCameraUpdate6" auth="Root" packageIdentifier="com.apple.pkg.RAWCameraUpdate6">RAWCameraUpdate6.pkg</pkg-ref>
    </choice>
    <localization>
        <strings language="pl">"SU_TITLE" = "Uaktualnienie zgodności plików RAW aparatów cyfrowych";
"SU_TITLE_ALT" = "";
"SU_VERS" = "6.21";
"SU_VERS_ALT" = "";
"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;meta name="Generator" content="Cocoa HTML Writer"&gt;
  &lt;meta name="CocoaVersion" content="1265.19"&gt;
  &lt;style type="text/css"&gt;
    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px \'-apple-system\'}
    p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px \'-apple-system\'; min-height: 13.0px}
    span.s1 {text-decoration: underline ; color: #4787ff}
    span.Apple-tab-span {white-space:pre}
  &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p class="p1"&gt;Uaktualnienie zgodności plików RAW aparatów cyfrowych 6.21&lt;/p&gt;
&lt;p class="p2"&gt;&lt;br&gt;&lt;/p&gt;
&lt;p class="p1"&gt;To uaktualnienie rozszerza zgodność plików RAW z systemem OS X El Capitan na następujące aparaty:&lt;/p&gt;
&lt;p class="p2"&gt;&lt;br&gt;&lt;/p&gt;

&lt;p class="p1"&gt;&lt;span class="Apple-converted-space"&gt;     &lt;span class="Apple-tab-span"&gt;  &lt;/span&gt;&lt;/span&gt;• Fujifilm X-Pro2&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="Apple-converted-space"&gt;     &lt;span class="Apple-tab-span"&gt;  &lt;/span&gt;&lt;/span&gt;• Pentax K-1&lt;/p&gt;

&lt;p class="p2"&gt;&lt;br&gt;&lt;/p&gt;
&lt;p class="p1"&gt;Więcej informacji na temat obsługiwanych formatów plików RAW można znaleźć pod adresem &lt;a href="https://support.apple.com/pl-pl/HT205272"&gt;&lt;span class="s1"&gt;https://support.apple.com/pl-pl/HT205272&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;


	
	
	
	
	
	
	
	
	
';
"SU_DESCRIPTION_ALT" = '';
</strings>
    </localization>
    <pkg-ref id="RAWCameraUpdate6" installKBytes="11163" version="6210.1.1472514942"/>
</installer-gui-script>