PDA

View Full Version : Package Maker Command Line Options




login4vinay
May 20, 2013, 09:20 AM
Hi All,
I am new in mac and i want to create a mpkg installer using command line..
I want load kext files after install the driver. I am able to do this thing by Packagemaker GUI.
but i want to do it by the help of COMMAND LINE
Command line Option i use to create PKG Installer are below:-
/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
--root-volume-only
--scripts ~/tep/postinstall
-l "/System"
--target 10.4
--id "com."
--root ~/tep/eval-installtree/release/System
--out ~/tep/MY.mpkg

But Script is not working..



benwiggy
May 20, 2013, 12:07 PM
Any reason using the GUI app is not a successful resolution to the problem?

I presume you've read through the man page?

For someone who claims to be new to Macs, creating your own installer for kexts is pretty deep. What is the driver?

iSee
May 21, 2013, 01:16 PM
when you say the script is not working, what error message are you getting? Or, if there is no error message, what unexpected output (or lack of output) are you seeing?

I'd go through the man page for PackageMaker (as already suggested), option by option to double check each one, checking the meaning and value of each one.