<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
    <title>Microsoft AutoUpdate</title>
    <organization>com.microsoft</organization>
    <options customize="never" require-scripts="true" rootVolumeOnly="true"/>
    <allowed-os-versions>
        <os-version min="10.10"/>
    </allowed-os-versions>
    <!-- Component packages to be included in the distribution. -->
    <pkg-ref id="com.microsoft.autoupdate" packageIdentifier="com.microsoft.package.component" installKBytes="7670">#Office15_autoupdate_updater.pkg</pkg-ref>
    <!-- Choices which reference defined pkg-refs. -->
    <choices-outline>
        <line choice="com.microsoft.autoupdate"/>
    </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>
    <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="3.6" CFBundleVersion="3.6.16080300" id="com.microsoft.autoupdate.fba" path="Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app"/>
            <bundle CFBundleShortVersionString="15.25" CFBundleVersion="15.25.16080300" id="com.microsoft.errorreporting" path="Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/SharedSupport/Microsoft Error Reporting.app"/>
            <bundle CFBundleShortVersionString="3.6" CFBundleVersion="3.6.16080300" id="com.microsoft.autoupdate2" path="Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>