PDA

View Full Version : hi (want to make app to create disk images)




vnraju
Aug 1, 2007, 06:17 AM
hi all...
i am raju...
i am a new to this mac world....
i want to create one app...to create disk image file(.dmg)...
how should i approach...
plz i want suggenstions from those experienced people....
thanks in advance....



sushi
Aug 1, 2007, 06:19 AM
Welcome.

Mac OS X already comes with a utility to create a disk image.

Go to Applications.

Go to Utilities.

Select Disk Utilities.

Hopefully this will solve your .dmg needs.

robbieduncan
Aug 1, 2007, 07:08 AM
If you really want to write your own app for some reason (perhaps you want to add custom resources to the dmg or something) then you should probably look at wrapping the command line tools that create dmgs. I would start by looking at hdiutil (http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/hdiutil.1.html).

Note this assumes you already know how to write programs for the Mac in Cocoa or perhaps Carbon.

vnraju
Aug 1, 2007, 07:24 AM
If you really want to write your own app for some reason (perhaps you want to add custom resources to the dmg or something) then you should probably look at wrapping the command line tools that create dmgs. I would start by looking at hdiutil (http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/hdiutil.1.html).

Note this assumes you already know how to write programs for the Mac in Cocoa or perhaps Carbon.

thanx,
i want some details plz......................

robbieduncan
Aug 1, 2007, 08:06 AM
thanx,
i want some details plz......................

Read the linked page. That is the documentation. If you want hand-held through the basics of writing a Mac program then you've come to the wrong place. You need to work through and fully understand the tutorials on the Apple developer website.

Eraserhead
Aug 1, 2007, 08:29 AM
If you need to learn Cocoa a book like this one (http://www.amazon.co.uk/Cocoa-Programming-OS-Aaron-Hillegass/dp/0321213149/ref=pd_bbs_sr_1/026-7923530-0770027?ie=UTF8&s=books&qid=1185974951&sr=8-1) is worth getting.

vnraju
Aug 2, 2007, 01:05 AM
If you need to learn Cocoa a book like this one (http://www.amazon.co.uk/Cocoa-Programming-OS-Aaron-Hillegass/dp/0321213149/ref=pd_bbs_sr_1/026-7923530-0770027?ie=UTF8&s=books&qid=1185974951&sr=8-1) is worth getting.

thanx
i learnt something abt Cocoa....
so that i want to built an app.
plz any suggestions....