Help - Search - Members - Calendar
Full Version: Edit OSInstall.mpkg for Retail MBR Install and package customisation
Project OS X Forums > Previous Releases > Mac OS X Leopard 10.5 > Leopard Guides & Tutorials > Installation
modbin
I took Hagar`s idea of pointing the retail dvd to a patched OSInstall.mpkg. This way you can install on MBR and inject some Extra pkgs. One way to do it is booting the retail, open a terminal window and type the following:
CODE
/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer /Volumes/MYUSBDRIVE/OSInstall.mpkg


You need to change some paths inside Distribution to point to the retail DVD.
change all the paths like this
CODE
    <pkg-ref id="com.apple.pkg.X11User" auth='root'>file:./X11User.pkg</pkg-ref>


to

CODE
    <pkg-ref id="com.apple.pkg.X11User" auth='root'>file:/Volumes/Mac%20OS%20X%20Install%20DVD/System/Installation/Packages/X11User.pkg</pkg-ref>


You can also add some Extra.pkg but it should be located next to your OSInstall.mpkg on the USB Drive.
CODE
    <pkg-ref id="com.apple.pkg.Extra" auth='root'>file:./Extra.pkg</pkg-ref>


OSInstall.mpkg with Extra:
http://is.gd/BGAf
Hagar
QUOTE (modbin @ May 18 2009, 02:00 PM) *
I took Hagar`s idea of pointing the retail dvd to a patched OSInstall.mpkg. This way you can install on MBR and inject some Extra pkgs.


OUTSTANDING!

This what I originally wanted to do but took the shortcut instead. Flat Package Editor & Texedit can also be run from the install DVD like this so the whole process can be done in one tongue.gif

old guide is here

Do you think this could be used to install off restore discs too?

Edit 1. nov 2009:

I quickly did this for my own use with the 10.5.4 retail DVD. This is the patched & tested OSInstall.mpkg with MBR check removed & .pkg paths hardcoded as per above.

Click to view attachment
realityiswhere
Excellent work, I'm excited to see what can come of this!
aprodigy
yay, something to play around with.
thanks modbin!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.