Re: [OT] Disk image creation
Re: [OT] Disk image creation
- Subject: Re: [OT] Disk image creation
- From: "B.J. Buchalter" <email@hidden>
- Date: Tue, 06 Mar 2007 18:35:18 -0500
- Thread-topic: [OT] Disk image creation
Larry,
On 3/6/07 6:17 PM, "Laurence Harris" <email@hidden> wrote:
> This is slightly off topic, but since it relates to a development
> tool, I'm asking here. What are the best options for creating disk
> images for distributing a product via drag and drop installation? I
> don't need anything particularly fancy, just a background image and I
> want it to preserve my settings to not use metal windows and the size
> of window for the folder it contains intact. What's the latest and
> greatest for this?
There may be some more automatic tools for this, but what I do (and it seems
to work well) is create a R/W disk image with DiskUtility, and then mount it
and set it up as I like. When it is all good, I unmount the image. If you
lock it in the finder (the image file), and double click, it behaves like a
RO file -- you can use this for testing.
Once you have got it the way you want, you can use
hdiutil convert <srcimage> -format <fmt> -o <ro-imagename>
<srcimage> = the image file you just set up
<fmt> = UDCO or UDZO (two different compressed formats -- check the man
page)
<ro-imagename> = the name of the new, compressed, read only image file
YMMV, but it works well for me, and can be scripted.
Best regards,
B.J. Buchalter
Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden