PippoX0 Posted July 15, 2011 Share Posted July 15, 2011 HI, This is a simple hack to install OSX Lion GM on older PC with only 1 Gb of RAM Sustitute this patched OSinstall.mpkg on /System/Installation/Packages on created Dmg for hackintosh OSX Lion GM OSinstall.mpkg patched for only 1024 Mb RAM installation OSInstall.mpkg.zip Cheers PippoX0 4 Link to comment Share on other sites More sharing options...
H8TR Posted July 15, 2011 Share Posted July 15, 2011 A better solution is to actually get 2GB of RAM. 1GB won't perform well. 1 Link to comment Share on other sites More sharing options...
twilight.lee Posted July 22, 2011 Share Posted July 22, 2011 Can you tell me how to patch this *2GB limit*? thanks 1 Link to comment Share on other sites More sharing options...
coelomate Posted August 28, 2011 Share Posted August 28, 2011 Thank you very much. This was very useful in getting lion installed onto a USB drive using a macmini which only had 1GB. I could then move the drive over to a Hack-tosh. Obviously, the person who said get 2GB of RAM didn't see all the value. Thanks again. 1 Link to comment Share on other sites More sharing options...
james Vreeken Posted October 18, 2011 Share Posted October 18, 2011 thanks! I used this for a friend who wanted me to upgrade his computer but his imac only had 1 GB ram. I made him order a 6GB set from OWC but in the mean time I at least got his os installed, something he wouldn't be able to do by himself. he knows how to put ram in... Can you tell me how to patch this *2GB limit*? thanks It looks like you just replace the file... if you are asking how it was done... he probably used a program like pacifist and extracted the distribution file and edited it so that it could accept a minimum of 1024mb ram: here is the file he edited: <?xml version="1.0" standalone="yes"?> <installer-gui-script minSpecVersion="1"> <options eraseOptionAvailable="true" hostArchitectures="i386" allow-external-scripts="yes"/> <title>MacOSX_Title</title> <license file="License.rtf"/> <conclusion file="Conclusion.rtfd"/> <script> var minRam = 1024; function checkSupportedMachine(machineType) { return true; } function checkSupportedBootRom(machineType) { return true; } function hasAtLeastRam(RAM) { var requiredRAM = (RAM * 1024 * 1024); var actualRAM = system.sysctl('hw.memsize'); return (actualRAM > (requiredRAM - 1)); } function is64bit() { var is64bit =system.sysctl('hw.cpu64bit_capable'); return is64bit; } function isVirtualMachine(){ var cpuFeatures = system.sysctl( 'machdep.cpu.features' ); cpuFeatures=cpuFeatures.split(" "); for( var i = 0; i < cpuFeatures.length; i++ ){ if( cpuFeatures[i] == "VMM" ){ return false; } } return false; } function isSupportedPlatform(){ if( isVirtualMachine() ){ return true; } var platformSupportValues=["Mac-F2268DC8","Mac-F22C86C8","Mac-F22587C8","Mac-F2218FA9","Mac-F2218EA9","Mac-F42D86A9","Mac-F22C8AC8","Mac-F22586C8","Mac-942B59F58194171B","Mac-F226BEC8","Mac-F4218FC8","Mac-942459F5819B171B","Mac-F4218EC8","Mac-F2208EC8","Mac-F22C89C8","Mac-F22587A1","Mac-F221DCC8","Mac-F42388C8","Mac-F223BEC8","Mac-F4238CC8","Mac-F222BEC8","Mac-F227BEC8","Mac-F4208AC8","Mac-F22788A9","Mac-F4238BC8","Mac-F221BEC8","Mac-F2238AC8","Mac-F4208EAA","Mac-F22788C8","Mac-F22589C8","Mac-F4228EC8","Mac-F22788AA","Mac-F42C86C8","Mac-F4208CA9","Mac-942C5DF58193131B","Mac-F2238BAE","Mac-F42289C8","Mac-F2268CC8","Mac-F4208DC8","Mac-F2218FC8","Mac-F2218EC8","Mac-F4208DA9","Mac-F42D89C8","Mac-F4208CAA","Mac-F42D89A9","Mac-F2268AC8","Mac-F42C89C8","Mac-942452F5819B1C1B","Mac-F42786A9","Mac-F42D88C8","Mac-F42187C8","Mac-94245B3640C91C81","Mac-F42D86C8","Mac-F2268EC8","Mac-F2268DAE","Mac-F42C8CC8","Mac-F42C88C8","Mac-94245A3940C91C80","Mac-F42386C8","Mac-942B5BF58194151B","Mac-F42189C8"]; var boardID = system.ioregistry.fromPath('IOService:/')['board-id']; if( !boardID || platformSupportValues.length ==0 ) { return false } for( var i = 0; i < platformSupportValues.length; i++ ){ if( boardID == platformSupportValues[i] ){ return true; } } return false; } function installCheckScript(){ try{ var machineType = system.ioregistry.fromPath('IODeviceTree:/')['compatible']; if (typeof(isFNI) == "undefined" && typeof(hwbeInstallCheck) != "undefined") { if (!hwbeInstallCheck()) { return false; } } if(!is64bit()){ my.result.message = system.localizedStringWithFormat('IC_Unsupported_Processor'); my.result.type = 'Fatal'; return false; } if(!isSupportedPlatform()){ my.result.message = system.localizedStringWithFormat('IC_Unsupported_Platform'); my.result.type = 'Fatal'; return false; } if(!hasAtLeastRam(minRam)){ my.result.message = system.localizedStringWithFormat('IC_RAM_message'); my.result.type = 'Fatal'; return false; } if (system.compareVersions(system.version.ProductVersion, '10.7') < 0 && system.env.COMMAND_LINE_INSTALL) { my.result.message = system.localizedStringWithFormat('IC_Command_Line_message', '10.7'); my.result.type = 'Fatal'; return false; } if (typeof(findBJPrinters) != "undefined") findBJPrinters(); } catch (e) { system.log('installCheckScript threw exception ' + e); } return true; } function volCheckScript(){ var target = my.target; var destSystemVersion = target['systemVersion']; if(system.files.fileExistsAtPath(my.target.mountpoint + "/Backups.backupdb")) { my.result.message = system.localizedString('VC_Backup_message'); my.result.type = 'Fatal'; return false; } if(my.target.systemVersion){ if( system.compareVersions(my.target.systemVersion.ProductVersion, '10.8') >= 0){ my.result.message = system.localizedString('VC_Newer_message'); my.result.type = 'Fatal'; return false; } } if (destSystemVersion) { // Don't allow upgrades on volumes less than 10.6.6 if (-1 == system.numericalCompare(destSystemVersion['ProductVersion'], '10.6.6')) { my.result.message = system.localizedString('VC_Upgrade_message'); my.result.type = 'Fatal'; return false; } } //FDE CHECKS var plist = system.files.plistAtPath('/System/Library/Extensions/CoreStorage.kext/Contents/Info.plist'); if(plist){ var plistKeyValue = plist['CoreStorageDiskFormatVersion']; if((system.ioregistry.matchingClass('CoreStorageGroup').length != 0) && (system.compareVersions(plistKeyValue, '1') != 0) ){ my.result.message = system.localizedString('CS_message'); my.result.type = 'Fatal'; return false; } } // SERVER CHECKS if (destSystemVersion && destSystemVersion.isServer) { // Install Assistant if (system.env.__OSINSTALL_ENVIRONMENT != '1') { // Block if source volume is client and target volume is server if (! system.files.fileExistsAtPath("/System/Library/CoreServices/ServerVersion.plist")) { my.result.message = system.localizedString('VC_CannotUpgradeServer_message'); my.result.type = 'Fatal'; return false; } // For Server upgrades Server.app needs to be purchased if (! system.files.bundleAtPath("/Applications/Server.app")) { my.result.message = system.localizedString('VC_NeedServerApp_message'); my.result.type = 'Fatal'; return false; } // Recovery HD } else if (! system.files.fileExistsAtPath("/System/Installation/Packages/OSInstall.mpkg")) { // Block Server volumes my.result.message = system.localizedString('VC_CannotUpgradeServerRecovery_message'); my.result.type = 'Fatal'; return false; } } return true; } function language_running(langKey){ var appleLanguages = system.defaults['AppleLanguages']; if(!appleLanguages || (appleLanguages.length == 0)) return ((langKey == 'English') || (langKey == 'en')) return (langKey == appleLanguages[0]); } 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(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 verCompare(checkVer){ var sysVer = my.target['systemVersion']; if (sysVer) { return system.numericalCompare(sysVer['ProductVersion'],checkVer); } return -1; } function upgrade_allowed(){ var argv = upgrade_allowed.arguments; var upgradable = true; var upgradeAction = my.choice.packageUpgradeAction; if(argv.length > 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; } function isServer(){ if(!my.target['systemVersion'].isServer){ return false; } return true; } function systemHasDVD(){ var obj = system.ioregistry.matchingClass("IODVDBlockStorageDriver"); if (obj) { return true; } var obj2 = system.ioregistry.matchingName("ApplePlatformEnabler","IOService"); if (obj2 ) { if ( obj2[0]['DVDSupported'] ) { return true; } } return false; } function hasNetInfo() { var path = my.target.mountpoint + "/private/var/db/netinfo/local.nidb"; if (system.files.fileExistsAtPath(path)) { return true; } return false; } </script> <installation-check script="installCheckScript()"/> <volume-check script="volCheckScript()"/> <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="DVDPlayer"/> <line choice="iTunes"/> <line choice="iChat"/> <line choice="JavaEssentials"/> <line choice="Safari"/> <line choice="OxfordDictionaries"/> <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 choice="Portuguese"/> <line choice="Polish"/> <line choice="Arabic"/> <line choice="Hungarian"/> <line choice="Turkish"/> <line choice="Czech"/> </line> <line choice="X11"/> </line> <line choice="ServerEssentials_Choice"/> <line choice="OSInstallScripts"/> </choices-outline> <choice id="EssentialSystemSoftware" title="EssentialSystemSoftware_title" description="EssentialSystemSoftware_description" start_enabled="false" start_visible="false"/> <choice id="EssentialSystemSoftwareGroup" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.BaseSystemBinaries"/> <pkg-ref id="com.apple.pkg.BaseSystemResources"/> <system-image id="com.apple.dmg.MacOSX"/> <pkg-ref id="com.apple.mpkg.OSInstall"/> <pkg-ref id="com.apple.pkg.Essentials"/> <pkg-ref id="com.apple.pkg.BootCamp"/> <pkg-ref id="com.apple.pkg.BSD"/> <pkg-ref id="com.apple.pkg.PodcastCapture"/> <pkg-ref id="com.apple.pkg.JavaTools"/> <pkg-ref id="com.apple.pkg.RemoteDesktop"/> <pkg-ref id="com.apple.pkg.SIUResources"/> </choice> <choice id="AddressBook" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AddressBook"/> </choice> <choice id="AdditionalEssentials" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AdditionalEssentials"/> <pkg-ref id="com.apple.pkg.OSUpgrade" active="!my.target.ignoreContents && hasNetInfo() && verCompare(10.3) >= 0"/> </choice> <choice id="AsianLanguagesSupport" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AsianLanguagesSupport"/> </choice> <choice id="DVDPlayer" start_visible="false" start_selected="systemHasDVD()"> <pkg-ref id="com.apple.pkg.DVDPlayer"/> </choice> <choice id="iCal" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.iCal"/> </choice> <choice id="Automator" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.Automator"/> </choice> <choice id="iChat" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.iChat"/> </choice> <choice id="iTunes" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.iTunes"/> </choice> <choice id="JavaEssentials" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.JavaEssentials"/> </choice> <choice id="MediaFiles" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.MediaFiles"/> </choice> <choice id="Mail" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.Mail"/> </choice> <choice id="OxfordDictionaries" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.OxfordDictionaries"/> </choice> <choice id="Safari" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.Safari"/> </choice> <choice id="OSInstallScripts" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.OSInstall"/> </choice> <choice id="AdditionalSpeechVoices" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AdditionalSpeechVoices"/> </choice> <choice id="MigrationAssistant" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.MigrationAssistant"/> </choice> <choice id="LanguageTranslations" title="LanguageTranslations_title" description="LanguageTranslations_description" start_visible="false" start_selected="true"/> <choice id="Japanese" title="Japanese_title" description="Japanese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ja"/> </choice> <choice id="German" title="German_title" description="German_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.de"/> </choice> <choice id="French" title="French_title" description="French_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.fr"/> </choice> <choice id="Spanish" title="Spanish_title" description="Spanish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.es"/> </choice> <choice id="Italian" title="Italian_title" description="Italian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.it"/> </choice> <choice id="Dutch" title="Dutch_title" description="Dutch_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.nl"/> </choice> <choice id="Danish" title="Danish_title" description="Danish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.da"/> </choice> <choice id="Finnish" title="Finnish_title" description="Finnish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.fi"/> </choice> <choice id="Korean" title="Korean_title" description="Korean_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ko"/> </choice> <choice id="Norwegian" title="Norwegian_title" description="Norwegian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.no"/> </choice> <choice id="Russian" title="Russian_title" description="Russian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ru"/> </choice> <choice id="Swedish" title="Swedish_title" description="Swedish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.sv"/> </choice> <choice id="BrazilianPortuguese" title="BrazilianPortuguese_title" description="BrazilianPortuguese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.pt"/> </choice> <choice id="SimplifiedChinese" title="SimplifiedChinese_title" description="SimplifiedChinese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.zh_CN"/> </choice> <choice id="TraditionalChinese" title="TraditionalChinese_title" description="TraditionalChinese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.zh_TW"/> </choice> <choice id="Portuguese" title="Portuguese_title" description="Portuguese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.pt_PT"/> </choice> <choice id="Polish" title="Polish_title" description="Polish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.pl"/> </choice> <choice id="Arabic" title="Arabic_title" description="Arabic_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ar"/> </choice> <choice id="Hungarian" title="Hungarian_title" description="Hungarian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.hu"/> </choice> <choice id="Turkish" title="Turkish_title" description="Turkish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.tr"/> </choice> <choice id="Czech" title="Czech_title" description="Czech_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.cs"/> </choice> <choice id="X11" start_selected="true" start_visible="false"> <pkg-ref id="com.apple.pkg.X11User"/> </choice> <choice id="ServerEssentials_Choice" title="Server_Essentials_title" description="Server_Essentials_description" start_visible="sourceVolumeHasServerSoftware() && hasServerAppInstalled() && isEmptyTargetVolume()" start_enabled="sourceVolumeHasServerSoftware() && hasServerAppInstalled() && isEmptyTargetVolume()" start_selected="targetVolumeHasServerSoftware()"> <pkg-ref id="com.apple.pkg.ServerEssentials"/> </choice> <script> function hasServerAppInstalled() { var bundle = system.files.bundleAtPath("/Applications/Server.app"); if (bundle) { return true; } return false; } function sourceVolumeHasServerSoftware() { var plist = system.files.fileExistsAtPath("/System/Library/CoreServices/ServerVersion.plist"); if( plist ){ return true; } return false; } function targetVolumeHasServerSoftware() { var mp = my.target.mountpoint; var plist = system.files.fileExistsAtPath(mp + "/System/Library/CoreServices/ServerVersion.plist"); if( plist ){ return true; } return false; } function isEmptyTargetVolume() { var mp = my.target.mountpoint; var plist = system.files.fileExistsAtPath(mp + "/System/Library/CoreServices/SystemVersion.plist"); if( plist ){ return false; } return true; } </script> <pkg-ref id="com.apple.pkg.AdditionalSpeechVoices" auth="root">AdditionalSpeechVoices.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.AddressBook" auth="root">AddressBook.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.AsianLanguagesSupport" auth="root">AsianLanguagesSupport.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BaseSystemBinaries" auth="root">BaseSystemBinaries.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BaseSystemResources" auth="root">BaseSystemResources.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BSD" auth="root">BSD.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.DVDPlayer" auth="root">DVDPlayer.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Essentials" auth="root">Essentials.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BootCamp" auth="root">BootCamp.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.iCal" auth="root">iCal.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Automator" auth="root">Automator.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.AdditionalEssentials" auth="root">AdditionalEssentials.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.OSUpgrade" auth="root">OSUpgrade.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.iChat" auth="root">iChat.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.iTunes" auth="root">iTunes.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.JavaEssentials" auth="root">JavaEssentials.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Mail" auth="root">Mail.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.MediaFiles" auth="root">MediaFiles.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.MigrationAssistant" auth="root">MigrationAssistant.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.OSInstall" auth="root">OSInstall.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Safari" auth="root">Safari.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.SIUResources" auth="root">SIUResources.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.OxfordDictionaries" auth="root">OxfordDictionaries.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.X11User" auth="root">X11User.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.PodcastCapture" auth="root">PodcastCapture.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.JavaTools" auth="root">JavaTools.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.RemoteDesktop" auth="root">RemoteDesktop.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.pt" auth="root">BrazilianPortuguese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.da" auth="root">Danish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.nl" auth="root">Dutch.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.fi" auth="root">Finnish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.fr" auth="root">French.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.de" auth="root">German.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.zh_CN" auth="root">SimplifiedChinese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.es" auth="root">Spanish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.pt_PT" auth="root">Portuguese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.pl" auth="root">Polish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.sv" auth="root">Swedish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.zh_TW" auth="root">TraditionalChinese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ja" auth="root">Japanese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ko" auth="root">Korean.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.no" auth="root">Norwegian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ru" auth="root">Russian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.it" auth="root">Italian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ar" auth="root">Arabic.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.hu" auth="root">Hungarian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.tr" auth="root">Turkish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.cs" auth="root">Czech.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.ServerEssentials" auth="root">ServerEssentials.pkg</pkg-ref> <pkg-ref id="com.apple.mpkg.OSInstall" auth="root" version="10.7.0">OSInstall.mpkg</pkg-ref> <system-image id="com.apple.dmg.MacOSX">BaseSystem.dmg</system-image> <pkg-ref id="com.apple.MacOSX.lang.ar" installKBytes="41928" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.cs" installKBytes="29394" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.da" installKBytes="41577" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.de" installKBytes="46601" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.es" installKBytes="45665" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.fi" installKBytes="41871" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.fr" installKBytes="46679" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.hu" installKBytes="29779" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.it" installKBytes="44144" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.ja" installKBytes="46276" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.ko" installKBytes="44614" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.nl" installKBytes="44206" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.no" installKBytes="41619" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.pl" installKBytes="42344" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.pt" installKBytes="42131" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.pt_PT" installKBytes="42157" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.ru" installKBytes="44193" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.sv" installKBytes="41804" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.tr" installKBytes="29841" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.zh_CN" installKBytes="44406" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.zh_TW" installKBytes="43748" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AdditionalEssentials" installKBytes="36949" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AdditionalSpeechVoices" installKBytes="286596" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AddressBook" installKBytes="12595" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AsianLanguagesSupport" installKBytes="58613" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.Automator" installKBytes="23853" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BaseSystemBinaries" installKBytes="569003" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BaseSystemResources" installKBytes="271511" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BootCamp" installKBytes="6444" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BSD" installKBytes="551752" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.DVDPlayer" installKBytes="20671" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.Essentials" installKBytes="1963542" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.iCal" installKBytes="31918" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.iChat" installKBytes="28622" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.iTunes" installKBytes="102953" version="8.2.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.JavaEssentials" installKBytes="21297" version="1.0.1.1309412550"/> <pkg-ref id="com.apple.pkg.JavaTools" installKBytes="26461" version="1.0.1.1309412550"/> <pkg-ref id="com.apple.pkg.Mail" installKBytes="44549" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.MediaFiles" installKBytes="50872" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.MigrationAssistant" installKBytes="27270" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.OSInstall" installKBytes="0" version="10.7.0.1"/> <pkg-ref id="com.apple.pkg.OSUpgrade" installKBytes="0" version="10.7.0.1"/> <pkg-ref id="com.apple.pkg.OxfordDictionaries" installKBytes="99836" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.PodcastCapture" installKBytes="14277" version="1.0.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.RemoteDesktop" installKBytes="66" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.Safari" installKBytes="31749" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.SIUResources" installKBytes="66" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.X11User" installKBytes="80967" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.ServerEssentials" installKBytes="357576" version="10.7.0.1.1.1309412550"/> <system-image id="com.apple.dmg.MacOSX" version="10.7.0.1.1.1309412550" sha1="8b973cf20e1c44109726039551803ae6ce226f5f" external-products="11A511_ServerEssentials"/> </installer-gui-script> then he probably just put this file back in the package... I've done stuff like this before This is the original: <?xml version="1.0" standalone="yes"?> <installer-gui-script minSpecVersion="1"> <options eraseOptionAvailable="true" hostArchitectures="i386" allow-external-scripts="yes"/> <title>MacOSX_Title</title> <license file="License.rtf"/> <conclusion file="Conclusion.rtfd"/> <script> var minRam = 2048; function checkSupportedMachine(machineType) { return true; } function checkSupportedBootRom(machineType) { return true; } function hasAtLeastRam(RAM) { var requiredRAM = (RAM * 1024 * 1024); var actualRAM = system.sysctl('hw.memsize'); return (actualRAM > (requiredRAM - 1)); } function is64bit() { var is64bit =system.sysctl('hw.cpu64bit_capable'); return is64bit; } function isVirtualMachine(){ var cpuFeatures = system.sysctl( 'machdep.cpu.features' ); cpuFeatures=cpuFeatures.split(" "); for( var i = 0; i < cpuFeatures.length; i++ ){ if( cpuFeatures[i] == "VMM" ){ return true; } } return false; } function isSupportedPlatform(){ if( isVirtualMachine() ){ return true; } var platformSupportValues=["Mac-F2268DC8","Mac-F22C86C8","Mac-F22587C8","Mac-F2218FA9","Mac-F2218EA9","Mac-F42D86A9","Mac-F22C8AC8","Mac-F22586C8","Mac-942B59F58194171B","Mac-F226BEC8","Mac-F4218FC8","Mac-942459F5819B171B","Mac-F4218EC8","Mac-F2208EC8","Mac-F22C89C8","Mac-F22587A1","Mac-F221DCC8","Mac-F42388C8","Mac-F223BEC8","Mac-F4238CC8","Mac-F222BEC8","Mac-F227BEC8","Mac-F4208AC8","Mac-F22788A9","Mac-F4238BC8","Mac-F221BEC8","Mac-F2238AC8","Mac-F4208EAA","Mac-F22788C8","Mac-F22589C8","Mac-F4228EC8","Mac-F22788AA","Mac-F42C86C8","Mac-F4208CA9","Mac-942C5DF58193131B","Mac-F2238BAE","Mac-F42289C8","Mac-F2268CC8","Mac-F4208DC8","Mac-F2218FC8","Mac-F2218EC8","Mac-F4208DA9","Mac-F42D89C8","Mac-F4208CAA","Mac-F42D89A9","Mac-F2268AC8","Mac-F42C89C8","Mac-942452F5819B1C1B","Mac-F42786A9","Mac-F42D88C8","Mac-F42187C8","Mac-94245B3640C91C81","Mac-F42D86C8","Mac-F2268EC8","Mac-F2268DAE","Mac-F42C8CC8","Mac-F42C88C8","Mac-94245A3940C91C80","Mac-F42386C8","Mac-942B5BF58194151B","Mac-F42189C8"]; var boardID = system.ioregistry.fromPath('IOService:/')['board-id']; if( !boardID || platformSupportValues.length ==0 ) { return false } for( var i = 0; i < platformSupportValues.length; i++ ){ if( boardID == platformSupportValues[i] ){ return true; } } return false; } function installCheckScript(){ try{ var machineType = system.ioregistry.fromPath('IODeviceTree:/')['compatible']; if (typeof(isFNI) == "undefined" && typeof(hwbeInstallCheck) != "undefined") { if (!hwbeInstallCheck()) { return false; } } if(!is64bit()){ my.result.message = system.localizedStringWithFormat('IC_Unsupported_Processor'); my.result.type = 'Fatal'; return false; } if(!isSupportedPlatform()){ my.result.message = system.localizedStringWithFormat('IC_Unsupported_Platform'); my.result.type = 'Fatal'; return false; } if(!hasAtLeastRam(minRam)){ my.result.message = system.localizedStringWithFormat('IC_RAM_message'); my.result.type = 'Fatal'; return false; } if (system.compareVersions(system.version.ProductVersion, '10.7') < 0 && system.env.COMMAND_LINE_INSTALL) { my.result.message = system.localizedStringWithFormat('IC_Command_Line_message', '10.7'); my.result.type = 'Fatal'; return false; } if (typeof(findBJPrinters) != "undefined") findBJPrinters(); } catch (e) { system.log('installCheckScript threw exception ' + e); } return true; } function volCheckScript(){ var target = my.target; var destSystemVersion = target['systemVersion']; if(system.files.fileExistsAtPath(my.target.mountpoint + "/Backups.backupdb")) { my.result.message = system.localizedString('VC_Backup_message'); my.result.type = 'Fatal'; return false; } if(my.target.systemVersion){ if( system.compareVersions(my.target.systemVersion.ProductVersion, '10.8') >= 0){ my.result.message = system.localizedString('VC_Newer_message'); my.result.type = 'Fatal'; return false; } } if (destSystemVersion) { // Don't allow upgrades on volumes less than 10.6.6 if (-1 == system.numericalCompare(destSystemVersion['ProductVersion'], '10.6.6')) { my.result.message = system.localizedString('VC_Upgrade_message'); my.result.type = 'Fatal'; return false; } } //FDE CHECKS var plist = system.files.plistAtPath('/System/Library/Extensions/CoreStorage.kext/Contents/Info.plist'); if(plist){ var plistKeyValue = plist['CoreStorageDiskFormatVersion']; if((system.ioregistry.matchingClass('CoreStorageGroup').length != 0) && (system.compareVersions(plistKeyValue, '1') != 0) ){ my.result.message = system.localizedString('CS_message'); my.result.type = 'Fatal'; return false; } } // SERVER CHECKS if (destSystemVersion && destSystemVersion.isServer) { // Install Assistant if (system.env.__OSINSTALL_ENVIRONMENT != '1') { // Block if source volume is client and target volume is server if (! system.files.fileExistsAtPath("/System/Library/CoreServices/ServerVersion.plist")) { my.result.message = system.localizedString('VC_CannotUpgradeServer_message'); my.result.type = 'Fatal'; return false; } // For Server upgrades Server.app needs to be purchased if (! system.files.bundleAtPath("/Applications/Server.app")) { my.result.message = system.localizedString('VC_NeedServerApp_message'); my.result.type = 'Fatal'; return false; } // Recovery HD } else if (! system.files.fileExistsAtPath("/System/Installation/Packages/OSInstall.mpkg")) { // Block Server volumes my.result.message = system.localizedString('VC_CannotUpgradeServerRecovery_message'); my.result.type = 'Fatal'; return false; } } return true; } function language_running(langKey){ var appleLanguages = system.defaults['AppleLanguages']; if(!appleLanguages || (appleLanguages.length == 0)) return ((langKey == 'English') || (langKey == 'en')) return (langKey == appleLanguages[0]); } 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(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 verCompare(checkVer){ var sysVer = my.target['systemVersion']; if (sysVer) { return system.numericalCompare(sysVer['ProductVersion'],checkVer); } return -1; } function upgrade_allowed(){ var argv = upgrade_allowed.arguments; var upgradable = true; var upgradeAction = my.choice.packageUpgradeAction; if(argv.length > 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; } function isServer(){ if(!my.target['systemVersion'].isServer){ return false; } return true; } function systemHasDVD(){ var obj = system.ioregistry.matchingClass("IODVDBlockStorageDriver"); if (obj) { return true; } var obj2 = system.ioregistry.matchingName("ApplePlatformEnabler","IOService"); if (obj2 ) { if ( obj2[0]['DVDSupported'] ) { return true; } } return false; } function hasNetInfo() { var path = my.target.mountpoint + "/private/var/db/netinfo/local.nidb"; if (system.files.fileExistsAtPath(path)) { return true; } return false; } </script> <installation-check script="installCheckScript()"/> <volume-check script="volCheckScript()"/> <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="DVDPlayer"/> <line choice="iTunes"/> <line choice="iChat"/> <line choice="JavaEssentials"/> <line choice="Safari"/> <line choice="OxfordDictionaries"/> <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 choice="Portuguese"/> <line choice="Polish"/> <line choice="Arabic"/> <line choice="Hungarian"/> <line choice="Turkish"/> <line choice="Czech"/> </line> <line choice="X11"/> </line> <line choice="ServerEssentials_Choice"/> <line choice="OSInstallScripts"/> </choices-outline> <choice id="EssentialSystemSoftware" title="EssentialSystemSoftware_title" description="EssentialSystemSoftware_description" start_enabled="false" start_visible="false"/> <choice id="EssentialSystemSoftwareGroup" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.BaseSystemBinaries"/> <pkg-ref id="com.apple.pkg.BaseSystemResources"/> <system-image id="com.apple.dmg.MacOSX"/> <pkg-ref id="com.apple.mpkg.OSInstall"/> <pkg-ref id="com.apple.pkg.Essentials"/> <pkg-ref id="com.apple.pkg.BootCamp"/> <pkg-ref id="com.apple.pkg.BSD"/> <pkg-ref id="com.apple.pkg.PodcastCapture"/> <pkg-ref id="com.apple.pkg.JavaTools"/> <pkg-ref id="com.apple.pkg.RemoteDesktop"/> <pkg-ref id="com.apple.pkg.SIUResources"/> </choice> <choice id="AddressBook" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AddressBook"/> </choice> <choice id="AdditionalEssentials" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AdditionalEssentials"/> <pkg-ref id="com.apple.pkg.OSUpgrade" active="!my.target.ignoreContents && hasNetInfo() && verCompare(10.3) >= 0"/> </choice> <choice id="AsianLanguagesSupport" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AsianLanguagesSupport"/> </choice> <choice id="DVDPlayer" start_visible="false" start_selected="systemHasDVD()"> <pkg-ref id="com.apple.pkg.DVDPlayer"/> </choice> <choice id="iCal" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.iCal"/> </choice> <choice id="Automator" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.Automator"/> </choice> <choice id="iChat" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.iChat"/> </choice> <choice id="iTunes" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.iTunes"/> </choice> <choice id="JavaEssentials" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.JavaEssentials"/> </choice> <choice id="MediaFiles" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.MediaFiles"/> </choice> <choice id="Mail" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.Mail"/> </choice> <choice id="OxfordDictionaries" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.OxfordDictionaries"/> </choice> <choice id="Safari" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.Safari"/> </choice> <choice id="OSInstallScripts" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.OSInstall"/> </choice> <choice id="AdditionalSpeechVoices" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.AdditionalSpeechVoices"/> </choice> <choice id="MigrationAssistant" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.pkg.MigrationAssistant"/> </choice> <choice id="LanguageTranslations" title="LanguageTranslations_title" description="LanguageTranslations_description" start_visible="false" start_selected="true"/> <choice id="Japanese" title="Japanese_title" description="Japanese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ja"/> </choice> <choice id="German" title="German_title" description="German_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.de"/> </choice> <choice id="French" title="French_title" description="French_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.fr"/> </choice> <choice id="Spanish" title="Spanish_title" description="Spanish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.es"/> </choice> <choice id="Italian" title="Italian_title" description="Italian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.it"/> </choice> <choice id="Dutch" title="Dutch_title" description="Dutch_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.nl"/> </choice> <choice id="Danish" title="Danish_title" description="Danish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.da"/> </choice> <choice id="Finnish" title="Finnish_title" description="Finnish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.fi"/> </choice> <choice id="Korean" title="Korean_title" description="Korean_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ko"/> </choice> <choice id="Norwegian" title="Norwegian_title" description="Norwegian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.no"/> </choice> <choice id="Russian" title="Russian_title" description="Russian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ru"/> </choice> <choice id="Swedish" title="Swedish_title" description="Swedish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.sv"/> </choice> <choice id="BrazilianPortuguese" title="BrazilianPortuguese_title" description="BrazilianPortuguese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.pt"/> </choice> <choice id="SimplifiedChinese" title="SimplifiedChinese_title" description="SimplifiedChinese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.zh_CN"/> </choice> <choice id="TraditionalChinese" title="TraditionalChinese_title" description="TraditionalChinese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.zh_TW"/> </choice> <choice id="Portuguese" title="Portuguese_title" description="Portuguese_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.pt_PT"/> </choice> <choice id="Polish" title="Polish_title" description="Polish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.pl"/> </choice> <choice id="Arabic" title="Arabic_title" description="Arabic_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.ar"/> </choice> <choice id="Hungarian" title="Hungarian_title" description="Hungarian_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.hu"/> </choice> <choice id="Turkish" title="Turkish_title" description="Turkish_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.tr"/> </choice> <choice id="Czech" title="Czech_title" description="Czech_description" start_visible="false" start_selected="true"> <pkg-ref id="com.apple.MacOSX.lang.cs"/> </choice> <choice id="X11" start_selected="true" start_visible="false"> <pkg-ref id="com.apple.pkg.X11User"/> </choice> <choice id="ServerEssentials_Choice" title="Server_Essentials_title" description="Server_Essentials_description" start_visible="sourceVolumeHasServerSoftware() && hasServerAppInstalled() && isEmptyTargetVolume()" start_enabled="sourceVolumeHasServerSoftware() && hasServerAppInstalled() && isEmptyTargetVolume()" start_selected="targetVolumeHasServerSoftware()"> <pkg-ref id="com.apple.pkg.ServerEssentials"/> </choice> <script> function hasServerAppInstalled() { var bundle = system.files.bundleAtPath("/Applications/Server.app"); if (bundle) { return true; } return false; } function sourceVolumeHasServerSoftware() { var plist = system.files.fileExistsAtPath("/System/Library/CoreServices/ServerVersion.plist"); if( plist ){ return true; } return false; } function targetVolumeHasServerSoftware() { var mp = my.target.mountpoint; var plist = system.files.fileExistsAtPath(mp + "/System/Library/CoreServices/ServerVersion.plist"); if( plist ){ return true; } return false; } function isEmptyTargetVolume() { var mp = my.target.mountpoint; var plist = system.files.fileExistsAtPath(mp + "/System/Library/CoreServices/SystemVersion.plist"); if( plist ){ return false; } return true; } </script> <pkg-ref id="com.apple.pkg.AdditionalSpeechVoices" auth="root">AdditionalSpeechVoices.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.AddressBook" auth="root">AddressBook.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.AsianLanguagesSupport" auth="root">AsianLanguagesSupport.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BaseSystemBinaries" auth="root">BaseSystemBinaries.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BaseSystemResources" auth="root">BaseSystemResources.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BSD" auth="root">BSD.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.DVDPlayer" auth="root">DVDPlayer.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Essentials" auth="root">Essentials.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.BootCamp" auth="root">BootCamp.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.iCal" auth="root">iCal.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Automator" auth="root">Automator.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.AdditionalEssentials" auth="root">AdditionalEssentials.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.OSUpgrade" auth="root">OSUpgrade.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.iChat" auth="root">iChat.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.iTunes" auth="root">iTunes.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.JavaEssentials" auth="root">JavaEssentials.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Mail" auth="root">Mail.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.MediaFiles" auth="root">MediaFiles.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.MigrationAssistant" auth="root">MigrationAssistant.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.OSInstall" auth="root">OSInstall.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.Safari" auth="root">Safari.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.SIUResources" auth="root">SIUResources.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.OxfordDictionaries" auth="root">OxfordDictionaries.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.X11User" auth="root">X11User.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.PodcastCapture" auth="root">PodcastCapture.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.JavaTools" auth="root">JavaTools.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.RemoteDesktop" auth="root">RemoteDesktop.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.pt" auth="root">BrazilianPortuguese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.da" auth="root">Danish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.nl" auth="root">Dutch.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.fi" auth="root">Finnish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.fr" auth="root">French.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.de" auth="root">German.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.zh_CN" auth="root">SimplifiedChinese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.es" auth="root">Spanish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.pt_PT" auth="root">Portuguese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.pl" auth="root">Polish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.sv" auth="root">Swedish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.zh_TW" auth="root">TraditionalChinese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ja" auth="root">Japanese.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ko" auth="root">Korean.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.no" auth="root">Norwegian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ru" auth="root">Russian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.it" auth="root">Italian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.ar" auth="root">Arabic.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.hu" auth="root">Hungarian.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.tr" auth="root">Turkish.pkg</pkg-ref> <pkg-ref id="com.apple.MacOSX.lang.cs" auth="root">Czech.pkg</pkg-ref> <pkg-ref id="com.apple.pkg.ServerEssentials" auth="root">ServerEssentials.pkg</pkg-ref> <pkg-ref id="com.apple.mpkg.OSInstall" auth="root" version="10.7.0">OSInstall.mpkg</pkg-ref> <system-image id="com.apple.dmg.MacOSX">BaseSystem.dmg</system-image> <pkg-ref id="com.apple.MacOSX.lang.ar" installKBytes="41928" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.cs" installKBytes="29394" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.da" installKBytes="41577" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.de" installKBytes="46601" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.es" installKBytes="45665" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.fi" installKBytes="41871" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.fr" installKBytes="46679" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.hu" installKBytes="29779" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.it" installKBytes="44144" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.ja" installKBytes="46276" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.ko" installKBytes="44614" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.nl" installKBytes="44206" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.no" installKBytes="41619" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.pl" installKBytes="42344" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.pt" installKBytes="42131" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.pt_PT" installKBytes="42157" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.ru" installKBytes="44193" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.sv" installKBytes="41804" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.tr" installKBytes="29841" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.zh_CN" installKBytes="44406" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.MacOSX.lang.zh_TW" installKBytes="43748" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AdditionalEssentials" installKBytes="36949" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AdditionalSpeechVoices" installKBytes="286596" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AddressBook" installKBytes="12595" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.AsianLanguagesSupport" installKBytes="58613" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.Automator" installKBytes="23853" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BaseSystemBinaries" installKBytes="569003" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BaseSystemResources" installKBytes="271511" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BootCamp" installKBytes="6444" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.BSD" installKBytes="551752" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.DVDPlayer" installKBytes="20671" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.Essentials" installKBytes="1963542" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.iCal" installKBytes="31918" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.iChat" installKBytes="28622" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.iTunes" installKBytes="102953" version="8.2.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.JavaEssentials" installKBytes="21297" version="1.0.1.1309412550"/> <pkg-ref id="com.apple.pkg.JavaTools" installKBytes="26461" version="1.0.1.1309412550"/> <pkg-ref id="com.apple.pkg.Mail" installKBytes="44549" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.MediaFiles" installKBytes="50872" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.MigrationAssistant" installKBytes="27270" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.OSInstall" installKBytes="0" version="10.7.0.1"/> <pkg-ref id="com.apple.pkg.OSUpgrade" installKBytes="0" version="10.7.0.1"/> <pkg-ref id="com.apple.pkg.OxfordDictionaries" installKBytes="99836" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.PodcastCapture" installKBytes="14277" version="1.0.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.RemoteDesktop" installKBytes="66" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.Safari" installKBytes="31749" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.SIUResources" installKBytes="66" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.X11User" installKBytes="80967" version="10.7.0.1.1.1309412550"/> <pkg-ref id="com.apple.pkg.ServerEssentials" installKBytes="357576" version="10.7.0.1.1.1309412550"/> <system-image id="com.apple.dmg.MacOSX" version="10.7.0.1.1.1309412550" sha1="8b973cf20e1c44109726039551803ae6ce226f5f" external-products="11A511_ServerEssentials"/> </installer-gui-script> 1 Link to comment Share on other sites More sharing options...
james Vreeken Posted October 18, 2011 Share Posted October 18, 2011 1 Link to comment Share on other sites More sharing options...
Emmanuel81 Posted October 21, 2011 Share Posted October 21, 2011 Hey James I have an Asus Sabertooth X58 Mobo with 8gb G skill ripjaw ram and Lion will freezes up at the boot screen if I have more than 2gb installed. I am dual booting with Windows 7 and its a real pain to keep adding and removing ram on the fly. PLEASE HELP. P.S- All of the ram showed up fine on SL 1.6.3 \ 1.6.7 \ 1.6.8 You mentioned something to another member about a patch but your response looked like Hieroglyphics to me do you know of any scripts that would fix this problem automatically or can you PLEASE PLEASE PLEASE explain to me how to edit that file step by step. 1 Link to comment Share on other sites More sharing options...
coelomate Posted December 12, 2011 Share Posted December 12, 2011 Hello, where is the file? I'd like to use it to install lion 1 Link to comment Share on other sites More sharing options...
twilight.lee Posted November 14, 2012 Share Posted November 14, 2012 It looks like you just replace the file... if you are asking how it was done... he probably used a program like pacifist and extracted the distribution file and edited it so that it could accept a minimum of 1024mb ram: here is the file he edited: <?xml version="1.0" standalone="yes"?> <installer-gui-script minSpecVersion="1"> <options eraseOptionAvailable="true" hostArchitectures="i386" allow-external-scripts="yes"/> <title>MacOSX_Title</title> <license file="License.rtf"/> <conclusion file="Conclusion.rtfd"/> <script> var minRam = 1024; ................... Thanks for your idea. I got it. 1 Link to comment Share on other sites More sharing options...
ally2801 Posted December 29, 2013 Share Posted December 29, 2013 Thanksgiving! Runs perfect on my Pentium D Hackintosh! 1 Link to comment Share on other sites More sharing options...
erk Posted October 2, 2015 Share Posted October 2, 2015 Thanks for the patch. Someone gave me a late 2006 Macbook with 1GB in it, running Snow Leopard, but I wanted to install Viber which needs Lion, so I ordered some more RAM from Hong Kong off eBAy, but that will take weeks to get here, in the meantime the patch let me get on with the upgrade from Snow Leopard Thanks again. Link to comment Share on other sites More sharing options...
Panda Stirling Posted January 8, 2016 Share Posted January 8, 2016 Thanks a lot I just upgraded my Early 2006 iMac from Core Duo 2GHz to Core 2 Duo 2,16GHz, and i only have 1,5Gb of RAM, but with this, i could install Lion Thanks again EDIT: No D: It tell me "Mac OS X 10.7 can't be installed on this computer" Even if i deleted all of the "PlatformSupport.plist" and "SupportedMachine.plist" Link to comment Share on other sites More sharing options...
Recommended Posts