All pastes #620124 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-15 07:55 UTC
rendered paste body
<?xml version="1.0"?>
<installer-gui-script minSpecVersion="1">

	<options mpkg="com.apple.mpkg.OSInstall.UserDVD" />
	
	
	<title>MacOSX_Title</title>

	<welcome file="Welcome.rtfd"/>

	<script>
	
	function checkSupportedMachine(machineType){
		var badMachines = ['iMac','PowerBook1,1','PowerBook2,1', 'AAPL,Gossamer', 'AAPL,PowerMac G3', 'AAPL,PowerBook1998', 'AAPL,PowerBook1999'];
		
		try{
			var cpuFreq = system.sysctl('hw.cpufrequency');
		} catch(e) {
			system.log('checkSupportedMachine threw exception ' + e);
		}
		
		if(machineType){
			var length = badMachines.length;
			
			// Fail if any of the compatible values match the list of badMachines
			for( var j = 0; j &lt; length; j++ ){
				if(machineType == badMachines[j]){
						return false;
				} 

			}
			
		}
		
		// if we can't find it, assume it's supported
		return true;
	}
	
	function checkSupportedBootRom(machineType){
		var machinesNeedingROMUpdate = new Array();
		machinesNeedingROMUpdate['PowerMac2,1'] = 'f2';
		machinesNeedingROMUpdate['PowerMac2,2'] = '$0003.30f3';
		
		try{
			var bootROM = system.ioregistry.matchingName('boot-rom','IODeviceTree')[0]['BootROM-version'];

			// Fail if any of the compatible values match the machine/ROM pairs that need updating
			for( k in machinesNeedingROMUpdate ){
				if((machineType == k) &amp;&amp; (bootROM == machinesNeedingROMUpdate[k])){						
					return false;
				}
			}
		} catch(e) {
			system.log('checkSupportedBootRom threw exception ' + e);
		}
		
		// if we can't find it, assume it's supported
		return true;
	}
	
	function installCheckScript(){			
			
			return true;
	}
	
	
	//This function checks if a language is already installed on disk.
	//This function could potentially be expensive, but the buffer cache
	//usually means it isn't. 
	function language_installed(langKey){
		var installed = false;
		
		//If we are erasing, then nothing will be installed
		//on the disk
		if(my.target.ignoreContents){
			return installed;
		}
		
		var constructedPath = my.target.mountpoint + '/System/Library/PrivateFrameworks/SetupAssistant.framework/Versions/A/Resources/';
			
		constructedPath += langKey + ".lproj";
			
		if(system.files.fileExistsAtPath(constructedPath)){
			installed = true;
		}else{
			installed = false;
		}

		return installed;
	}
	
	function language_running(langKey){
		var appleLanguages = system.defaults['AppleLanguages'];
	
	
		if(!appleLanguages || (appleLanguages.length == 0))
				return ((langKey == 'English') || (langKey == 'en'))
		
		return (langKey == appleLanguages[0]);
	}
	
	//Global Language Required Cache, this speeds up the many calls to this function
	gLanguageRequired = {
	};
	
	//Function returns true if the langKey is required, it uses a cache so that the logic doesn't
	//have to be run hundreds of times
	function language_required(langKey){
		
		if(! (gLanguageRequired[langKey])){
			var required = false;
			
			//If the exact same package is on disk, then this language is not required
			if(my.choice.packages.length &amp;&amp; !my.target.ignoreContents){
				var thisPackage = my.choice.packages[0];
				var receipt     = my.target.receiptForIdentifier(thisPackage.identifier);
			
				if(receipt){
					//system.log('package = ' + thisPackage.identifier + ':' + thisPackage.version);
					//system.log('receipt = ' + receipt.identifier + ':' + receipt.version);
					if(0 == system.numericalCompare(thisPackage.version,receipt.version)){
						required =  false;
					}
				}
			}

			if(language_installed(langKey) || language_running(langKey)){
				required =  true;
			}
			
			gLanguageRequired[langKey] = required;
		}
		
		return gLanguageRequired[langKey];
	}
	
	function language_enabled(langKey){
		var enabled = !(language_required(langKey));
		
		if(false == enabled){
			my.choice.tooltip = system.localizedString('TT_Language_Required_message');
		}
		
		return enabled;
	}

	function language_selected(langKey){
		var selected = my.choice.selected || language_required(langKey);

		return selected;
	}
	
	function upgrade_allowed(){
		var argv = upgrade_allowed.arguments;
		var upgradable = true;
		var upgradeAction = my.choice.packageUpgradeAction;
		
		if(argv.length &gt; 0) { 
			upgradeAction = eval('choices.' + argv[0] + '.packageUpgradeAction');	
		}
		
		if((upgradeAction == 'downgrade') || (upgradeAction == 'mixed')){
			my.choice.tooltip = system.localizedString('TT_Newer_Package_Installed_message');	
			upgradable = false;
		}
		
		return upgradable;
	}
	
	</script>

	<choices-outline>
    <line choice="EssentialSystemSoftware">
		<line choice="EssentialSystemSoftwareGroup"/>
		<line choice="AdditionalEssentials"/>
		<line choice="AdditionalSpeechVoices"/>
		<line choice="AsianLanguagesSupport"/>
		<line choice="MediaFiles"/>
		<line choice="MigrationAssistant"/>
		<line choice="Mail"/>
		<line choice="AddressBook"/>
		<line choice="iCal"/>
		<line choice="Automator"/>
		<line choice="iTunes"/>
		<line choice="iChat"/>
		<line choice="Java"/>
		<line choice="Safari"/>
		<line choice="OxfordDictionaries"/>
		<line choice="MacOSXUpd10.4.8Intel"/>
    </line>
    <line choice="PrinterDriversGroup">
      <line choice="Brother_Printer_Drivers"/>
      <line choice="Canon_Printer_Drivers"/>
      <line choice="EFI_Printer_Drivers"/>
      <line choice="Epson_Printer_Drivers"/>
      <line choice="HP_Printer_Drivers"/>
      <line choice="Lexmark_Printer_Drivers"/>
      <line choice="Gimp_Printer_Drivers"/>
      <line choice="Ricoh_Printer_Drivers"/>
      <line choice="Xerox_Printer_Drivers"/>
    </line>
    <line choice="AdditionalFonts"/>
    <line choice="LanguageTranslations">
      <line choice="Japanese"/>
      <line choice="German"/>
      <line choice="French"/>
      <line choice="Spanish"/>
      <line choice="Italian"/>
      <line choice="Dutch"/>
      <line choice="Danish"/>
      <line choice="Finnish"/>
      <line choice="Korean"/>
      <line choice="Norwegian"/>
      <line choice="Russian"/>
      <line choice="Swedish"/>
      <line choice="BrazilianPortuguese"/>
      <line choice="SimplifiedChinese"/>
      <line choice="TraditionalChinese"/>
    </line> 
    <line choice="X11"/>
    

    
     <line choice="JaS_Intel_10.4.8">
                <line choice="10.4.8.Intel.SSE2.SSE3"/>
	</line>
    <line choice="JaS_AMD_10.4.8">
                <line choice="10.4.8.AMD.SSE2.SSE3"/>
	</line>

    <line choice="PC_Hardware_Support">
                <line choice="10.4.8.GMA900.Support"/>
                <line choice="10.4.8.GMA950.Support"/>
                <line choice="10.4.8.Azalia.Audio.Support"/>
                <line choice="SoundBlaster.USB.Audio.Support"/>
                <line choice="Sigmatel9220Audio.Support"/>
                <line choice="10.4.4.Loginwindow.Intel.Only"/>
                <line choice="10.4.8.x600.Mobility.Support"/>
                <line choice="10.4.8.ATI.Radeonx1x00.pcie.support"/>
                <line choice="10.4.8.ATI.Radeonx1x00.agp.support"/>
	</line>

    <line choice="Natit_Nvidia_Support">
                <line choice="Natit.Nvidia.Support"/>
                <line choice="Natit.Dual.Display"/>
	</line>

</choices-outline>

<choice id="EssentialSystemSoftware" title="EssentialSystemSoftware_title" description="EssentialSystemSoftware_description" start_enabled="false">
</choice>

<choice id="EssentialSystemSoftwareGroup" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.BaseSystem"/>
	<pkg-ref id="com.apple.pkg.Essentials"/>
	<pkg-ref id="com.apple.pkg.BSD"/>
</choice>

<choice id="AddressBook" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.AddressBook"/>
</choice>

<choice id="AdditionalEssentials" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.AdditionalEssentials"/>
</choice>

<choice id="AdditionalSpeechVoices" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.AdditionalSpeechVoices"/>
</choice>

<choice id="AsianLanguagesSupport" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.AsianLanguagesSupport"/>
</choice>

<choice id="iCal" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.iCal"/>
</choice>

<choice id="Automator" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.Automator"/>
</choice>

<choice id="iChat" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.iChat"/>
</choice>

<choice id="iTunes" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.iTunes"/>
</choice>

<choice id="Java" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.Java"/>
</choice>

<choice id="MediaFiles" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.MediaFiles"/>
</choice>

<choice id="MigrationAssistant" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.MigrationAssistant"/>
</choice>

<choice id="Mail" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.Mail"/>
</choice>

<choice id="OxfordDictionaries" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.OxfordDictionaries"/>
</choice>

<choice id="Safari" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.Safari"/>
</choice>

<choice id="MacOSXUpd10.4.8Intel" start_visible="false" start_selected="upgrade_allowed()">
	<pkg-ref id="com.apple.pkg.MacOSXUpd10.4.8Intel"/>	
</choice>


<choice id="AdditionalFonts" title="AdditionalFonts_title" description="AdditionalFonts_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.AdditionalFonts"/>	
</choice>

<choice id="LanguageTranslations" title="LanguageTranslations_title" description="LanguageTranslations_description">
</choice>

<choice id="Japanese" title="Japanese_title" description="Japanese_description" start_selected="upgrade_allowed()" selected="language_selected('Japanese') &amp;&amp; upgrade_allowed()" enabled="language_enabled('Japanese') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.ja"/>	
</choice>

<choice id="German" title="German_title" description="German_description" start_selected="upgrade_allowed()" selected="language_selected('German') &amp;&amp; upgrade_allowed()" enabled="language_enabled('German') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.de"/>	
</choice>

<choice id="French" title="French_title" description="French_description" start_selected="upgrade_allowed()" selected="language_selected('French') &amp;&amp; upgrade_allowed()" enabled="language_enabled('French') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.fr"/>	
</choice>

<choice id="Spanish" title="Spanish_title" description="Spanish_description" start_selected="upgrade_allowed()" selected="language_selected('Spanish') &amp;&amp; upgrade_allowed()" enabled="language_enabled('Spanish') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.es"/>	
</choice>

<choice id="Italian" title="Italian_title" description="Italian_description" start_selected="upgrade_allowed()" selected="language_selected('Italian') &amp;&amp; upgrade_allowed()" enabled="language_enabled('Italian') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.it"/>	
</choice>

<choice id="Dutch" title="Dutch_title" description="Dutch_description" start_selected="upgrade_allowed()" selected="language_selected('Dutch') &amp;&amp; upgrade_allowed()" enabled="language_enabled('Dutch') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.nl"/>	
</choice>

<choice id="Danish" title="Danish_title" description="Danish_description" start_selected="upgrade_allowed()" selected="language_selected('da') &amp;&amp; upgrade_allowed()" enabled="language_enabled('da') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.da"/>	
</choice>

<choice id="Finnish" title="Finnish_title" description="Finnish_description" start_selected="upgrade_allowed()" selected="language_selected('fi') &amp;&amp; upgrade_allowed()" enabled="language_enabled('fi') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.fi"/>	
</choice>

<choice id="Korean" title="Korean_title" description="Korean_description" start_selected="upgrade_allowed()" selected="language_selected('ko') &amp;&amp; upgrade_allowed()" enabled="language_enabled('ko') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.ko"/>	
</choice>

<choice id="Norwegian" title="Norwegian_title" description="Norwegian_description" start_selected="upgrade_allowed()" selected="language_selected('no') &amp;&amp; upgrade_allowed()" enabled="language_enabled('no') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.no"/>	
</choice>

<choice id="Russian" title="Russian_title" description="Russian_description" start_selected="upgrade_allowed()" selected="language_selected('ru') &amp;&amp; upgrade_allowed()" enabled="language_enabled('ru') &amp;&amp; upgrade_allowed()">
        <pkg-ref id="com.apple.MacOSX.lang.ru"/>
</choice>

<choice id="Swedish" title="Swedish_title" description="Swedish_description" start_selected="upgrade_allowed()" selected="language_selected('sv') &amp;&amp; upgrade_allowed()" enabled="language_enabled('sv') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.sv"/>	
</choice>

<choice id="BrazilianPortuguese" title="BrazilianPortuguese_title" description="BrazilianPortuguese_description" start_selected="upgrade_allowed()" selected="language_selected('pt') &amp;&amp; upgrade_allowed()" enabled="language_enabled('pt') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.pt"/>	
</choice>

<choice id="SimplifiedChinese" title="SimplifiedChinese_title" description="SimplifiedChinese_description" start_selected="upgrade_allowed()" selected="language_selected('zh_CN') &amp;&amp; upgrade_allowed()" enabled="language_enabled('zh_CN') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.zh_CN"/>	
</choice>

<choice id="TraditionalChinese" title="TraditionalChinese_title" description="TraditionalChinese_description" start_selected="upgrade_allowed()" selected="language_selected('zh_TW') &amp;&amp; upgrade_allowed()" enabled="language_enabled('zh_TW') &amp;&amp; upgrade_allowed()">
	<pkg-ref id="com.apple.MacOSX.lang.zh_TW"/>	
</choice>

<choice id="PrinterDriversGroup" title="PrinterDriversGroup_title" description="PrinterDriversGroup_description">
</choice>

<choice id="Brother_Printer_Drivers" title="Brother_Printer_Drivers_title" description="Brother_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.BrotherPrinterDrivers"/>	
</choice>

<choice id="Canon_Printer_Drivers" title="Canon_Printer_Drivers_title" description="Canon_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.CanonPrinterDrivers"/>	
</choice>

<choice id="EFI_Printer_Drivers" title="EFI_Printer_Drivers_title" description="EFI_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.ElectronicsForImagingPrinterDrivers"/>	
</choice>

<choice id="Epson_Printer_Drivers" title="Epson_Printer_Drivers_title" description="Epson_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.EpsonPrinterDrivers"/>	
</choice>

<choice id="HP_Printer_Drivers" title="HP_Printer_Drivers_title" description="HP_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.HewlettPackardPrinterDrivers"/>	
</choice>

<choice id="Lexmark_Printer_Drivers" title="Lexmark_Printer_Drivers_title" description="Lexmark_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.LexmarkPrinterDrivers"/>	
</choice>

<choice id="Gimp_Printer_Drivers" title="Gimp_Printer_Drivers_title" description="Gimp_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.GimpPrintPrinterDrivers"/>	
</choice>

<choice id="Ricoh_Printer_Drivers" title="Ricoh_Printer_Drivers_title" description="Ricoh_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.RicohPrinterDrivers"/>	
</choice>

<choice id="Xerox_Printer_Drivers" title="Xerox_Printer_Drivers_title" description="Xerox_Printer_Drivers_description" start_enabled="upgrade_allowed()" start_selected="my.choice.enabled">
	<pkg-ref id="com.apple.pkg.XeroxPrinterDrivers"/>	
</choice>

<choice id="X11" title="X11_title" description="X11_description" start_enabled="upgrade_allowed()" start_selected="false">
	<pkg-ref id="com.apple.pkg.X11User"/>	
</choice>





	<pkg-ref id="com.apple.pkg.AdditionalFonts" auth="root">file:../AdditionalFonts.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.AdditionalSpeechVoices" auth="root">file:../AdditionalSpeechVoices.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.AddressBook" auth="root">file:../AddressBook.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.AsianLanguagesSupport" auth="root">file:../AsianLanguagesSupport.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.BaseSystem" auth="root">file:../BaseSystem.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.BrotherPrinterDrivers" auth="root">file:../BrotherPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.pt" auth="root">file:../BrazilianPortuguese.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.BSD" auth="root">file:../BSD.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.CanonPrinterDrivers" auth="root">file:../CanonPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.da" auth="root">file:../Danish.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.nl" auth="root">file:../Dutch.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.ElectronicsForImagingPrinterDrivers" auth="root">file:../ElectronicsForImagingPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.EpsonPrinterDrivers" auth="root">file:../EpsonPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.Essentials" auth="root">file:../Essentials.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.fi" auth="root">file:../Finnish.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.fr" auth="root">file:../French.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.de" auth="root">file:../German.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.GimpPrintPrinterDrivers" auth="root">file:../GimpPrintPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.HewlettPackardPrinterDrivers" auth="root">file:../HewlettPackardPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.iCal" auth="root">file:../iCal.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.Automator" auth="root">file:../Automator.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.AdditionalEssentials" auth="root">file:../AdditionalEssentials.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.iChat" auth="root">file:../iChat.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.it" auth="root">file:../Italian.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.iTunes" auth="root">file:../iTunes.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.ja" auth="root">file:../Japanese.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.Java" auth="root">file:../Java.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.ko" auth="root">file:../Korean.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.LexmarkPrinterDrivers" auth="root">file:../LexmarkPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.Mail" auth="root">file:../Mail.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.MediaFiles" auth="root">file:../MediaFiles.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.MigrationAssistant" auth="root">file:../MigrationAssistant.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.no" auth="root">file:../Norwegian.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.ru" auth="root">file:../Russian.pkg</pkg-ref>
	<pkg-ref id="com.apple.mpkg.OSInstall.UserDVD" auth="root">file:../OSInstall.mpkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.RicohPrinterDrivers" auth="root">file:../RicohPrinterDrivers.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.Safari" auth="root">file:../Safari.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.OxfordDictionaries" auth="root">file:../OxfordDictionaries.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.zh_CN" auth="root">file:../SimplifiedChinese.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.es" auth="root">file:../Spanish.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.sv" auth="root">file:../Swedish.pkg</pkg-ref>
	<pkg-ref id="com.apple.MacOSX.lang.zh_TW" auth="root">file:../TraditionalChinese.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.X11User" auth="root">file:../X11User.pkg</pkg-ref>
	<pkg-ref id="com.apple.pkg.XeroxPrinterDrivers" auth="root">file:../XeroxPrinterDrivers.pkg</pkg-ref>


	<pkg-ref id="com.apple.MacOSX.lang.da" installKBytes="76320" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.de" installKBytes="79940" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.es" installKBytes="76660" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.fi" installKBytes="75116" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.fr" installKBytes="78944" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.it" installKBytes="77908" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.ja" installKBytes="82572" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.ko" installKBytes="80164" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.nl" installKBytes="74860" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.no" installKBytes="76292" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.pt" installKBytes="72032" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.ru" installKBytes="74208" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.sv" installKBytes="77796" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.zh_CN" installKBytes="77372" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.MacOSX.lang.zh_TW" installKBytes="84408" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.AdditionalEssentials" installKBytes="67748" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.AdditionalFonts" installKBytes="133092" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.AdditionalSpeechVoices" installKBytes="28664" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.AddressBook" installKBytes="28108" version="4.1.0.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.AsianLanguagesSupport" installKBytes="102872" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.Automator" installKBytes="28032" version="1.1.0.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.BaseSystem" installKBytes="526672" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.BrotherPrinterDrivers" installKBytes="31004" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.BSD" installKBytes="349744" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.CanonPrinterDrivers" installKBytes="259912" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.ElectronicsForImagingPrinterDrivers" installKBytes="30884" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.EpsonPrinterDrivers" installKBytes="748908" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.Essentials" installKBytes="912380" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.GimpPrintPrinterDrivers" installKBytes="8264" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.HewlettPackardPrinterDrivers" installKBytes="318512" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.iCal" installKBytes="39068" version="2.1.0.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.iChat" installKBytes="28548" version="3.1.0.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.iTunes" installKBytes="65884" version="6.0.4.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.Java" installKBytes="152112" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.LexmarkPrinterDrivers" installKBytes="220028" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.Mail" installKBytes="54596" version="2.1.0.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.MediaFiles" installKBytes="72336" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.MigrationAssistant" installKBytes="35012" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.OxfordDictionaries" installKBytes="147780" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.RicohPrinterDrivers" installKBytes="944" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.Safari" installKBytes="24096" version="2.1.0.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.X11User" installKBytes="114784" version="10.4.7.3003300.2127"/>
	<pkg-ref id="com.apple.pkg.XeroxPrinterDrivers" installKBytes="550824" version="10.4.7.3003300.2127"/>
	
	
	
	<choice id="JaS_Intel_10.4.8" title="JaS Intel 10.4.8 ATA kexts included" description="Install this if you have an Intel cpu">
</choice>


<pkg-ref version="0.1" installKBytes="1102812" id="10.4.8.SSE2.3">../10.4.8.intel.pkg</pkg-ref>



<choice title="10.4.8.Intel.SSE2.SSE3" description="Install this if you have an Intel cpu." start_enabled="upgrade_allowed()" id="10.4.8.Intel.SSE2.SSE3" start_selected="false"><pkg-ref id="10.4.8.SSE2.3"/></choice>
	
	<choice id="JaS_AMD_10.4.8" title="JaS AMD 10.4.8 ATA kexts included" description="Install this if you have an AMD cpu">
</choice>


<pkg-ref version="0.1" installKBytes="660000" id="10.4.8.AMD.SSE2.3">../10.4.8.AMD.pkg</pkg-ref>



<choice title="10.4.8.AMD.SSE2.SSE3" description="Install this if you have an AMD cpu." start_enabled="upgrade_allowed()" id="10.4.8.AMD.SSE2.SSE3" start_selected="false"><pkg-ref id="10.4.8.AMD.SSE2.3"/></choice>
	
<choice id="PC_Hardware_Support" title="Support for the most common hardware" description="Support for the most common hardware">
</choice>

<pkg-ref version="0.1" installKBytes="5372" id="com.SoundBlaster.USB.Audio.Support">../SoundBlaster.USB.Audio.Support.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="284" id="10.4.8.azalia.audio">../10.4.8.azalia.audio.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="1388" id="JaS.10.4.8.GMA.900.Support">../JaS.10.4.8.GMA.950.Support.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="200" id="JaS.10.4.8.GMA.950.Support">../JaS.10.4.8.GMA.900.Support.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="1616" id="com.Sigmatel9220Audio.Support">../Sigmatel9220Audio.Support.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="1092" id="10.4.4.Loginwindow">../10.4.4.Loginwindow.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="5704" id="ATI.x600.mobility.support">../ATI.x600.mobility.support.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="21856" id="10.4.8.ATI.Radeonx1x00.pcie.support">../10.4.8.ATI.Radeonx1x00.pcie.support.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="21856" id="10.4.8.ATI.Radeonx1x00.agp.support">../10.4.8.ATI.Radeonx1x00.agp.support.pkg</pkg-ref>

<choice title="10.4.8.Azalia.Audio.Support" description="Install this patch package if you have Azalia Audio." start_enabled="upgrade_allowed()" id="10.4.8.Azalia.Audio.Support" start_selected="false"><pkg-ref id="10.4.8.azalia.audio"/></choice>

<choice title="SoundBlaster.USB.Audio.Support" description="Install this patch package if you have SoundBlaster USB Audio." start_enabled="upgrade_allowed()" id="SoundBlaster.USB.Audio.Support" start_selected="false"><pkg-ref id="com.SoundBlaster.USB.Audio.Support"/></choice>

<choice title="10.4.8.GMA900.Support" description="Install this patch package if you have the GMA900." start_enabled="upgrade_allowed()" id="10.4.8.GMA900.Support" start_selected="false"><pkg-ref id="JaS.10.4.8.GMA.900.Support"/></choice>

<choice title="10.4.8.GMA950.Support" description="Install this patch package if you have the GMA950." start_enabled="upgrade_allowed()" id="10.4.8.GMA950.Support" start_selected="false"><pkg-ref id="JaS.10.4.8.GMA.950.Support"/></choice>

<choice title="Sigmatel9220Audio.Support" description="Install this patch package if you have Sigmatel9220Audio." start_enabled="upgrade_allowed()" id="Sigmatel9220Audio.Support" start_selected="false"><pkg-ref id="com.Sigmatel9220Audio.Support"/></choice>

<choice title="10.4.4.Loginwindow.Intel.Only" description="Install this patch package to fix crashing about this mac" start_enabled="upgrade_allowed()" id="10.4.4.Loginwindow.Intel.Only" start_selected="false"><pkg-ref id="10.4.4.Loginwindow"/></choice>

<choice title="10.4.8.x600.Mobility.Support" description="This is based off the NeoPheus installer pkg.Install this patch package to support you x600 ati mobility gfx card" start_enabled="upgrade_allowed()" id="10.4.8.x600.Mobility.Support" start_selected="false"><pkg-ref id="ATI.x600.mobility.support"/></choice>

<choice title="10.4.8.ATI.Radeonx1x00.pcie.support" description="This is based off the NeoPheus installer pkg.Install this patch package to support you x1x00 ati pcie gfx card" start_enabled="upgrade_allowed()" id="10.4.8.ATI.Radeonx1x00.pcie.support" start_selected="false"><pkg-ref id="10.4.8.ATI.Radeonx1x00.pcie.support"/></choice>

<choice title="10.4.8.ATI.Radeonx1x00.agp.support" description="This is based off the NeoPheus installer pkg.Install this patch package to support you x1x00 ati pcie gfx card" start_enabled="upgrade_allowed()" id="10.4.8.ATI.Radeonx1x00.agp.support" start_selected="false"><pkg-ref id="10.4.8.ATI.Radeonx1x00.agp.support"/></choice>

<choice id="Natit_Nvidia_Support" title="Natit Nvidia Support" description="Support for Nvidia GFX Cards">
</choice>

<pkg-ref version="0.1" installKBytes="136" id="Natit.Nvidia.Support">../Natit.Nvidia.Support.pkg</pkg-ref>

<pkg-ref version="0.1" installKBytes="155" id="Natit.Dual.Display">../Natit.Dual.Display.pkg</pkg-ref>

<choice title="Natit.Dual.Display" description="Install this patch package for Nitat dual display support." start_enabled="upgrade_allowed()" id="Natit.Dual.Display" start_selected="false"><pkg-ref id="Natit.Dual.Display"/></choice>

<choice title="Natit.Nvidia.Support" description="Install this patch package for Natit Nvidia Support." start_enabled="upgrade_allowed()" id="Natit.Nvidia.Support" start_selected="false"><pkg-ref id="Natit.Nvidia.Support"/></choice>

</installer-gui-script>