<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1.000000" authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.3" authoringToolBuild="174">
    <title>ScanThru</title>
    <options customize="never" allow-external-scripts="no" rootVolumeOnly="true"/>
    <script>function verify_version()
{
return ( (system.files.fileExistsAtPath('/Library/Image Capture/TWAIN Data Sources/SamsungCLX-982xSeries.ds') == false) || ((system.files.bundleAtPath('/Library/Image Capture/TWAIN Data Sources/SamsungCLX-982xSeries.ds').CFBundleVersion > '2.31.51') == false) );
}


function pm_choice30_selected() {
  result = true;
  result = result &amp;&amp; (verify_version() == true);
  return result;
}


function pm_choice30_enabled() {
  result = true;
  result = result &amp;&amp; (verify_version() == true);
  return result;
}</script>
    <choices-outline>
        <line choice="choice30"/>
        <line choice="choice31"/>
    </choices-outline>
    <choice id="choice30" title="Driver" selected="pm_choice30_selected()" enabled="pm_choice30_enabled()">
        <pkg-ref id="com.src.ScanThru.scanthru.libictds.pkg"/>
    </choice>
    <choice id="choice31" title="Log">
        <pkg-ref id="com.src.ScanThru.scanthru.dummy.pkg"/>
    </choice>
    <pkg-ref id="com.src.ScanThru.scanthru.libictds.pkg" installKBytes="19288" version="1" auth="Root">file:./Contents/Packages/libictds.pkg</pkg-ref>
    <pkg-ref id="com.src.ScanThru.scanthru.dummy.pkg" installKBytes="4" version="1" auth="Root">file:./Contents/Packages/dummy.pkg</pkg-ref>
</installer-script>
