My question is:
Can I do something with ‘package’ (.pkg files) right from my Cocoa application’s code? For example – create new one or read / write files into existing package?
By the way, any standard command line programs also could help.
Thank you.
I don’t think there’s an API for working with installer packages.
You could run the
installercommand-line tool usingNSTaskand parse the output. Have a look at the man page for the options it takes.