开发者

Working with .pkg (Mac OS X package) files with Objective-C & Cocoa Framework

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开发者_C百科 help.

Thank you.


I don't think there's an API for working with installer packages.

You could run the installer command-line tool using NSTask and parse the output. Have a look at the man page for the options it takes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜