<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1.000000" authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.3" authoringToolBuild="174">
    <title>Logitech Control Center</title>
    <options customize="never" allow-external-scripts="no" rootVolumeOnly="true"/>
    <installation-check script="pm_install_check();"/>
    <script>function install_unifying()
{
	result = true;
	result = result &amp;&amp; (!system.files.fileExistsAtPath('/Applications/Utilities/Logitech Unifying Software.app') || (system.files.bundleAtPath('/Applications/Utilities/Logitech Unifying Software.app').CFBundleVersion &lt;= '1.0.0'));

	return result;
}


function pm_install_check() {
  if(!(system.version.ProductVersion >= '10.4.0')) {
    my.result.title = 'System too old';
    my.result.message = 'MacOS 10.4 is required to run this software.';
    my.result.type = 'Fatal';
    return false;
  }
  return true;
}



function pm_choice2_selected() {
  result = true;
  result = result &amp;&amp; (install_unifying() == true);
  return result;
}


function pm_choice2_enabled() {
  result = true;
  result = result &amp;&amp; (install_unifying() == true);
  return result;
}</script>
    <background file="background" alignment="topleft" scaling="none"/>
    <welcome file="Welcome"/>
    <readme file="ReadMe"/>
    <license file="License"/>
    <conclusion file="Conclusion.rtfd"/>
    <choices-outline>
        <line choice="choice1"/>
        <line choice="choice2"/>
        <line choice="choice3"/>
    </choices-outline>
    <choice id="choice1" title="Logitech Control Center" customLocation="/">
        <pkg-ref id="com.Logitech.Control Center.pkg"/>
    </choice>
    <choice id="choice2" title="Logitech Unifying Software" customLocation="/" selected="pm_choice2_selected()" enabled="pm_choice2_enabled()">
        <pkg-ref id="com.Logitech.Unifying Software.pkg"/>
    </choice>
    <choice id="choice3" title="Logitech Updater" customLocation="/">
        <pkg-ref id="com.Logitech.Updater.pkg"/>
    </choice>
    <pkg-ref id="com.Logitech.Control Center.pkg" installKBytes="26696" version="3.0.0" auth="Root" onConclusion="RequireRestart">file:./Contents/Packages/logitechControlCenter.pkg</pkg-ref>
    <pkg-ref id="com.Logitech.Unifying Software.pkg" installKBytes="4824" version="1.0.0" auth="Root">file:./Contents/Packages/logitechUnifyingSoftware.pkg</pkg-ref>
    <pkg-ref id="com.Logitech.Updater.pkg" installKBytes="3724" version="1.6.0" auth="Root">file:./Contents/Packages/logitechUpdater.pkg</pkg-ref>
</installer-script>