home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2013 February / ME_02_2013.iso / Software / Tuning / XtraFinder.dmg / XtraFinder.pkg / Distribution
Encoding:
Extensible Markup Language  |  2012-10-23  |  3.1 KB  |  74 lines

  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <installer-script minSpecVersion="1.000000" authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.6" authoringToolBuild="201">
  3.     <title>XtraFinder</title>
  4.     <options customize="never" allow-external-scripts="no"/>
  5.     <domains enable_localSystem="true"/>
  6.     <volume-check script="pm_volume_check();"/>
  7.     <script>function pm_volume_check() {
  8.   if(!(my.target.systemVersion && /* >= */ system.compareVersions(my.target.systemVersion.ProductVersion, '10.6.0') >= 0)) {
  9.     my.result.title = 'Failure';
  10.     my.result.message = 'Installation cannot proceed, as not all requirements were met.';
  11.     my.result.type = 'Fatal';
  12.     return false;
  13.   }
  14.   return true;
  15. }
  16. </script>
  17.     <background file="background" alignment="bottomleft" scaling="none"/>
  18.     <welcome file="Welcome"/>
  19.     <choices-outline>
  20.         <line choice="choice11"/>
  21.         <line choice="choice9"/>
  22.         <line choice="choice10"/>
  23.         <line choice="choice12"/>
  24.     </choices-outline>
  25.     <choice id="choice11" title="XtraFinder Preflight" start_visible="false">
  26.         <pkg-ref id="com.trankynam.xtrafinder.preflight.pkg"/>
  27.     </choice>
  28.     <choice id="choice9" title="XtraFinder">
  29.         <pkg-ref id="com.trankynam.xtrafinder.XtraFinder-1.pkg"/>
  30.     </choice>
  31.     <choice id="choice10" title="XtraFinderAddition">
  32.         <pkg-ref id="com.trankynam.xtrafinder.XtraFinder.pkg"/>
  33.     </choice>
  34.     <choice id="choice12" title="XtraFinder Postflight" start_visible="false">
  35.         <pkg-ref id="com.trankynam.xtrafinder.postflight.pkg"/>
  36.     </choice>
  37.     <pkg-ref id="com.trankynam.xtrafinder.preflight.pkg" installKBytes="0" version="1.0" auth="Root">#xtrafinderPreflight.pkg</pkg-ref>
  38.     <pkg-ref id="com.trankynam.xtrafinder.XtraFinder-1.pkg" installKBytes="308" version="1.0" auth="Root">#xtrafinder-1.pkg</pkg-ref>
  39.     <pkg-ref id="com.trankynam.xtrafinder.XtraFinder-1.pkg">
  40.         <relocate search-id="pkmktoken6">
  41.             <bundle id="com.trankynam.XtraFinder"/>
  42.         </relocate>
  43.     </pkg-ref>
  44.     <pkg-ref id="com.trankynam.xtrafinder.XtraFinder.pkg" installKBytes="3728" version="1.0" auth="Root">#xtrafinder.pkg</pkg-ref>
  45.     <pkg-ref id="com.trankynam.xtrafinder.postflight.pkg" installKBytes="0" version="1.0" auth="Root">#xtrafinderPostflight.pkg</pkg-ref>
  46.     <locator>
  47.         <search id="pkmktoken6-1" type="component">
  48.             <bundle CFBundleIdentifier="com.trankynam.XtraFinder" path="/Applications/XtraFinder.app"/>
  49.         </search>
  50.         <search id="pkmktoken6-0" type="script" script="pkmktoken6_combined()">
  51.             <script>
  52. function pkmktoken6_combined() {
  53.     function pkmk_add_results_to_array(results, array) {
  54.         for(i = 0; i < results.length; i++)
  55.             array.push(results[i]);
  56.     }
  57.     var result = new Array();
  58.     var search;
  59.     search = my.search.results['pkmktoken6-1'];
  60.     if(search) pkmk_add_results_to_array(search, result);
  61.     return result;
  62. }
  63. </script>
  64.         </search>
  65.         <search type="script" id="pkmktoken6" script="pkmktoken6_final()">
  66.             <script>
  67. function pkmktoken6_final() {
  68.     var combined = my.search.results['pkmktoken6-0'];
  69.     return combined;
  70. }
  71. </script>
  72.         </search>
  73.     </locator>
  74. </installer-script>