• 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: [OT] Software Delivery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Software Delivery


  • Subject: Re: [OT] Software Delivery
  • From: Evan Schoenberg <email@hidden>
  • Date: Sat, 29 Jan 2005 14:28:23 -0600

Also, if you prefer a complete GUI for .dmg creation, including seeing how your background image and such will look, you may want to check out Mindvision Software's shareware FileStorm (http://www.mindvision.com/filestorm.asp). I'm a happily registered user.

I am not associated with Mindvision in any way.

-Evan

On Jan 29, 2005, at 6:48 AM, Darkshadow wrote:


On Jan 28, 2005, at 10:52 PM, Andrew Farmer wrote:

On 28 Jan 2005, at 19:38, Chaz McGarvey wrote:
On Jan 28, 2005, at 8:20 PM, Andrew Farmer wrote:
On 28 Jan 2005, at 17:00, Jerry Krinock wrote:
on 05/01/22 14:53, Charles Srstka at email@hidden wrote:
I agree with those who have said that the best way to distribute files
is in a .dmg. It's the standard, all users know what to do with them,
and it won't mangle any files or attributes.

OK, but is there any way to make a .dmg less than 550 KB? My app compresses
to 350 KB, and when I release a new version I sometimes go over my ISP's
monthly download limit of 1 GB and have to hop to different accounts.
Padding an wasted 200 KB on each one puts me over the top a lot faster.

Compressed disk images. Create the image normally, then convert it to a compressed image.

Or...

hdiutil create -imagekey zlib-level=9 -format UDZO -srcfolder <srcfolder> <outputfile>

Or that, yes. Same idea.


Make sure the disk image you're compressing only has a single partition on it. If it has more than one partition (which I think Disk Utility creates by default if you're using that), it compresses all of the partitions so the resulting disk image is larger. That's probably the reason why your .dmg file is 550 KB. I've found that a disk image that contains partitions doesn't ever get below 250 KB, but one that only contains a single partition can get to 85 KB (probably smaller, too - just depends on how small whatever the disk image contains can be compressed).


I don't know if there is a way to create a single partition image with Disk Utility, but the above command should make one. BTW, you can compress an existing image with:

hdiutil convert -imagekey zlib-level=9 -format UDZO -o <outputimage> <inputimage>

Darkshadow (aka Michael Nickerson) _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: [OT] Software Delivery (From: Jerry Krinock <email@hidden>)
 >Re: [OT] Software Delivery (From: Andrew Farmer <email@hidden>)
 >Re: [OT] Software Delivery (From: Chaz McGarvey <email@hidden>)
 >Re: [OT] Software Delivery (From: Andrew Farmer <email@hidden>)
 >Re: [OT] Software Delivery (From: Darkshadow <email@hidden>)

  • Prev by Date: Re: Letting the Finder know something changed?
  • Next by Date: Re: Expose and local eventloops
  • Previous by thread: Re: [OT] Software Delivery
  • Next by thread: Re: [OT] Software Delivery (was Re: Why do "loose" nibs take precedence over nibs in .lproj?)
  • Index(es):
    • Date
    • Thread