Page 1 of 1

making a installation package

Posted: Fri Jan 13, 2017 5:08 pm
by plantenkennis
Hello,
Maybe this is not the place to ask this, but I try.

My app is nearly finished and now I want to distribute it. I think I need to make a pkg file, but I don't know how. This is the requirement:
  • the app must be placed in the /program/ folder
    the database I want to put in the users/USERNAME/plantenkennis'/ folder so I can reach them with my app
I think I need to use pkgbuild or or productbuild, but I don't know how to use all commands. I have read a lot on it on the internet, but now I am stuck (and hopeless :cry: )

Hope someone has a script example on how to do this.

Re: making a installation package

Posted: Fri Jan 13, 2017 9:24 pm
by Antonio Linares
René,

Have a look at fivemac/setup/fivemac.pmproj

Re: making a installation package

Posted: Fri Jan 13, 2017 10:25 pm
by Antonio Linares
It seems as pmproj is deprecated

Please review:
http://stackoverflow.com/questions/1148 ... -ready-pkg

Re: making a installation package

Posted: Fri Jan 13, 2017 10:26 pm
by Antonio Linares

Re: making a installation package

Posted: Sat Jan 14, 2017 10:10 pm
by plantenkennis
Hello Antonio,

I think packages is just what I need. With the online help I was able to build a pkg file. Thanks.