On Nov 5, 2009, at 7:54 PM, Robert Monaghan wrote:

Is there a framework, or some other API that will let me create a DMG file? (I've seen a couple of posts about using NSTask to launch a hdiutil command..) Or, is there a way in which to get events or notifications from hdiutil, as it is creating a DMG file from a source folder?


AFAIK, there is no API for this. You could try using one of -verbose, - debug or -puppetstrings in your hdiutil command to get more information back. I don't know how much, if any, the format of this output will change from version to version of Mac OS. Also consider using -plist to get the result of hdiutil back in a format that is easy to parse.

--
Dave Carrigan
d...@rudedog.org
Seattle, WA, USA

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to