Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

login4vinay

macrumors newbie
Original poster
May 20, 2013
2
0
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

macrumors 68020
Jun 15, 2012
2,248
63
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

macrumors 68040
Oct 25, 2004
3,535
260
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.