Re: programmatically access pkgutil
Thanks Vikram, thats what I wanted to avoid though, hence the question here... Seems more like a workaround than a solution to me... But thanks for the suggestion, cheers, Hagen. On Wed, Nov 14, 2012 at 4:01 PM, Vikram Singh <vikram731@gmail.com> wrote:
If your program is in Objective-C, use NSTask to execute the command and parse the result which is returned. Otherwise, in C,C++, use popen to execute the command, get the handle to the output and parse it.
On Wed, Nov 14, 2012 at 8:27 PM, hagen <noise@dynax.at> wrote:
Hi, is there an API (or something) to access pkgutil from my Application? I am especially interested in accessing the info provided by pkgutil:
pkgutil --pkg-info [pkgid]
Thanks & cheers, Hagen. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/installer-dev/vikram731%40gmail.com
This email sent to vikram731@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
hagen