PackageMaker Help

Discussion in 'Mac Programming' started by jaikob, Oct 19, 2008.

  1. jaikob macrumors 6502

    jaikob

    Joined:
    Jul 1, 2008
    Location:
    Freeland, MI
    #1
    I'm trying to make a costom package to install a program into the applications folder, and install .preference files to a users home directory.

    I don't know how to install the costom config files to a users home directory. It seems you can only absolute path to the install location.

    I basically don't know what to put into the destination box for the file in packagemaker to get it to install to a users home directory.

    [​IMG]

    Any help would be greatly appreciated.
     
  2. jaikob thread starter macrumors 6502

    jaikob

    Joined:
    Jul 1, 2008
    Location:
    Freeland, MI
    #2
    Got it, for those that are wondering, I just made a postinstall script, and had it move the files.
     
  3. iSee macrumors 68040

    iSee

    Joined:
    Oct 25, 2004
    #3
    ^^ That's right. ^^

    Probably moot at this point, but another option is to defer configuration to the first time the app is run. (Perhaps in this case, you check for the existance of the .preferences file and create it if it doesn't exist). The point is to not need an installer at all--the user just copies the app to the Applications folder (or elsewhere) and that's it. It doesn't work out for every app, but it's nice when it does.
     

Share This Page