<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <title>Microsoft Remote Desktop v10.2.8</title>
    <organization>com.microsoft</organization>
    <domains enable_localSystem="true" enable_anywhere="true" enable_currentUserHome="false"/>
    <options customize="never" require-scripts="true" rootVolumeOnly="true"/>
    <license file="eula.html" mime-type="text/html"/>
    <background file="RDC.png" scaling="none" alignment="bottomleft"/>
    <allowed-os-versions>
        <os-version min="10.11"/>
    </allowed-os-versions>
    <!-- Component packages to be included in the distribution. -->
    <pkg-ref id="com.microsoft.autoupdate" packageIdentifier="com.microsoft.package.Microsoft_AutoUpdate.app" version="4.6.0" installKBytes="17267">#Office16_autoupdate_updater.pkg</pkg-ref>
    <pkg-ref id="com.microsoft.rdc.macos" version="10.2.8" installKBytes="48208">#com.microsoft.rdc.macos.pkg</pkg-ref>
    <pkg-ref id="com.microsoft.rdc.scripts" version="1.0.0" installKBytes="0">#scripts.pkg</pkg-ref>
    <!-- Choices which reference defined pkg-refs. -->
    <choices-outline>
        <line choice="com.microsoft.rdc.macos"/>
        <line choice="com.microsoft.autoupdate"/>
        <line choice="com.microsoft.rdc.scripts"/>
    </choices-outline>
    <!-- Choice definitions for each package choice above. -->
    <choice id="com.microsoft.autoupdate">
        <pkg-ref id="com.microsoft.autoupdate">
            <must-close>
                <app id="com.microsoft.autoupdate2"/>
            </must-close>
        </pkg-ref>
    </choice>
    <choice id="com.microsoft.rdc.macos">
        <pkg-ref id="com.microsoft.rdc.macos">
            <must-close>
                <app id="com.microsoft.rdc.macos"/>
            </must-close>
        </pkg-ref>
    </choice>
    <choice id="com.microsoft.rdc.scripts">
        <pkg-ref id="com.microsoft.rdc.scripts"/>
    </choice>
    <installation-check script="InstallationCheck();"/>
    <script>
	function InstallationCheck()
	{
		var result;
		try {
			result = system.compareVersions(system.version.ProductVersion, '10.10.0') &gt;= 0;
		} catch (e) { }

		if (!result)
		{
			my.result.type = 'Fatal';
			my.result.title = system.localizedString('require-min-os-title');
			my.result.message = system.localizedString('require-min-os-message');;
		}
		return result;
	}
	</script>
    <pkg-ref id="com.microsoft.autoupdate">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.6" CFBundleVersion="4.6.18120801" id="com.microsoft.autoupdate2" path="Microsoft AutoUpdate.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.microsoft.rdc.macos">
        <bundle-version>
            <bundle CFBundleShortVersionString="10.2.8" CFBundleVersion="1570" id="com.microsoft.rdc.macos" path="Microsoft Remote Desktop.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.microsoft.rdc.scripts">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>