Re: .DMG Keeps Getting Bigger After Converting?
Re: .DMG Keeps Getting Bigger After Converting?
- Subject: Re: .DMG Keeps Getting Bigger After Converting?
- From: Michael Ash <email@hidden>
- Date: Sat, 17 Jan 2009 16:56:30 -0500
On Sat, Jan 17, 2009 at 4:02 PM, Markus Spoettl
<email@hidden> wrote:
> Totally agreed, scripting the entire process would be wonderful. But: How
> does one go about scripting a template DMG creation that should open in a
> certain view mode in Finder (e.g. icon) using a defined icon size and
> defined icon locations, background image, in a new window with a certain
> initial window size?
>
> There are 3rd party tools out there which do (parts of) that (DMG Canvas is
> one I believe), but I failed to get this to work with system tools -
> probably because I don't know what to use.
I've used FileStorm in the past, and it works decently and can be AppleScripted.
I believe it is possible to do it only with Apple tools. The trick is
to build your dmg by hand once. Then you save off the .DS_Store file
from the dmg, and put it on your new ones when you create it. I recall
that there are some tricks to the process but it's been a very long
time since I've done it.
My personal advice would be to simply give up on dmgs for software
distribution. Zip is quickly becoming the standard distribution format
for software on OS X. While we can probably start a giant thread
arguing about the good and bad of each (and please don't take this as
an invitation to start that thread), it should be clear that zip has
become common and accepted, and it eliminates the whole problem of
building good-looking dmgs.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden