Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > MacNN Lounge > Worthless B-tching: Why is everything a zipped .dmg nowadays?

Worthless B-tching: Why is everything a zipped .dmg nowadays?
Thread Tools
macbain80
Fresh-Faced Recruit
Join Date: Feb 2003
Status: Offline
Reply With Quote
Aug 1, 2005, 12:02 AM
 
Anytime I download anything, especially shareware, it's always a compressed file. You open it, it turns into a .dmg. You open THAT, it turns into a disc. Then you copy the file from the disk to your desktop. Then you trash the .zip and .dmg. Then you unmount the .dmg's drive.

Why? It seems like twenty-two steps to just download an already tiny 2 MB file. Heck, I just went through this whole process for DeLocalizer, a 451k file! It took four times as long to "decompress" it as it took to download!

Why don't people just post ordinary g-dam files? Am I missing something?
     
budster101
Baninated
Join Date: Dec 2004
Location: Illinois might be cold and flat, but at least it's ugly.
Status: Offline
Reply With Quote
Aug 1, 2005, 12:09 AM
 
I often see dmg files for download, but I understand your being upset with that situation and how often this really does occur. I do remember when downloading exe files a long long time ago, they often had to be zipped to protect the packets from becoming corrupt in the download process. I'm not so sure dmg or binary files have the same potential problem as they are contained better.

jpg, gif, and other files should be compressed again for downloading purposes to protect them.
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Aug 1, 2005, 12:13 AM
 
I agree, partly. Anyone who zips a dmg file didn't make the dmg properly in the first place--just use the internal zip compression offered by the dmg format.

Posting "ordinary g-dam files" isn't possible because an app usually is not a file, it's a collection of files bundled together, and often there are resource forks and metadata that gets mangled when transferred over protocols that don't understand them. That's why you need to shove everything into a single binary file. But the zipped dmg thing is annoying. So is .tar.gz -- Tiger's decompressor first un-gzips it, and then un-tars the tar file. If people would just name the file .tgz you could get to the decompressed final result in one step and without producing extraneous files.
     
Diggory Laycock
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Aug 1, 2005, 04:31 AM
 
The most likely reason is pragmatic - .DMG is not really known outside Mac users - so most webservers are not set up to send you the file properly - this gives the user the DMG data not as a downloaded file, but as a page of text. Most people don't administer their own servers - so can't get the MIME type for DMG added to the server's config. The easiest way to get round it is to compress the dmg with zip - every webserver knows how to handle zip files.

It's annoying, but a pragmatic solution for many people.
     
disco_stu
Junior Member
Join Date: Jun 2002
Location: Springfield
Status: Offline
Reply With Quote
Aug 1, 2005, 09:32 AM
 
I can testify to Diggory's post. When I first hosted my app (as a dmg), I noticed in the logs that people weren't downloading 100% of the file. I zipped up the dmg and haven't had a problem since.
     
lavar78
Professional Poster
Join Date: Feb 2002
Location: Yorktown, VA
Status: Offline
Reply With Quote
Aug 1, 2005, 09:35 AM
 
Originally Posted by macbain80
Anytime I download anything, especially shareware, it's always a compressed file. You open it, it turns into a .dmg. You open THAT, it turns into a disc. Then you copy the file from the disk to your desktop. Then you trash the .zip and .dmg. Then you unmount the .dmg's drive.
Isn't the .zip file deleted automatically?

"I'm virtually bursting with adequatulence!" - Bill McNeal, NewsRadio
     
Mithras
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Aug 1, 2005, 10:13 AM
 
Though all it takes is a one-line .htaccess file to fix the MIME type issues.
     
OptimusG4
Mac Elite
Join Date: Feb 2003
Location: columbus, oh
Status: Offline
Reply With Quote
Aug 1, 2005, 10:24 AM
 
Originally Posted by lavar78
Isn't the .zip file deleted automatically?
Only if you have 'Open "safe" files after downloading' turned on in Safari.
"Another classic science-fiction show cancelled before its time" ~ Bender

15.2" PowerBook 1.25GHz, 80GB HD, 768MB RAM, SuperDrive
     
mitchell_pgh
Posting Junkie
Join Date: Feb 2000
Location: Washington, DC
Status: Offline
Reply With Quote
Aug 1, 2005, 10:37 AM
 
While I like the ability to use zip, I enjoyed knowing that sea, dmg, sit, etc. files were Mac files.

I'm old school.
     
Oisín
Moderator Emeritus
Join Date: Mar 2004
Location: Copenhagen
Status: Offline
Reply With Quote
Aug 1, 2005, 11:08 AM
 
Originally Posted by Mithras
Though all it takes is a one-line .htaccess file to fix the MIME type issues.
Yeah, if you have the possibility of of adding .htaccess files. I, for instance, don't.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 04:14 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,