• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: .DMG Keeps Getting Bigger After Converting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .DMG Keeps Getting Bigger After Converting?


  • Subject: Re: .DMG Keeps Getting Bigger After Converting?
  • From: Alastair Houghton <email@hidden>
  • Date: Mon, 19 Jan 2009 15:12:30 +0000

On 17 Jan 2009, at 21:02, Markus Spoettl 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?

You *can* use AppleScript and shell script to do what you need here. The only problem is that you need to run the script from a window session, which may be an issue if you have some kind of build server.


We have a rather substantial chunk of AppleScript that I wrote for exactly this purpose, which is called from some shell scripts we use. Of course, we have the additional problem of needing to build bootable CDs, so our set-up is rather more complicated than it need be for most people.

If you need more information on this topic, this probably isn't the right list. But you might start by looking at the man pages for "hdiutil" and "osascript" and the Finder's Application Dictionary (in Script Editor, or better yet, Script Debugger).

Alternatively, as someone else suggested, there are some third-party apps that you can use for this exact purpose, which will be much easier if they support what you need.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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


  • Follow-Ups:
    • Re: .DMG Keeps Getting Bigger After Converting?
      • From: Chunk 1978 <email@hidden>
References: 
 >.DMG Keeps Getting Bigger After Converting? (From: Chunk 1978 <email@hidden>)
 >Re: .DMG Keeps Getting Bigger After Converting? (From: Michael Ash <email@hidden>)
 >Re: .DMG Keeps Getting Bigger After Converting? (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: bindings and sub array modification notification.
  • Next by Date: Re: NSOutlineView, tracking in a custom NSTextFieldCell, & Shift&Cmd Keys
  • Previous by thread: Re: .DMG Keeps Getting Bigger After Converting?
  • Next by thread: Re: .DMG Keeps Getting Bigger After Converting?
  • Index(es):
    • Date
    • Thread