Package Maker Command Line Options

Discussion in 'Mac Programming' started by login4vinay, May 20, 2013.

  1. macrumors newbie

    Joined:
    May 20, 2013
    #1
    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..
     
  2. macrumors 68020

    Joined:
    Jun 15, 2012
    #2
    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?
     
  3. macrumors 68040

    iSee

    Joined:
    Oct 25, 2004
    #3
    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.
     

Share This Page