aspose file tools*
The moose likes Mac OS and the fly likes Difference between .dmg and .app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Difference between .dmg and .app" Watch "Difference between .dmg and .app" New topic

Difference between .dmg and .app

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990

Someone was mentioning about turning a jar into an app in another thread and that caused a bit of a confusion for me.

I noticed that when I download some "installable" it is named .dmg and when I execute the application it, it is an .app file. Would I be correct in thinking this similar to .msi and .exe on windoze?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39537
.app is like .exe, but .dmg is a disk image, not an installer. If you double-click a disk image it will be mounted on the desktop like any other readable device. There may be an option to have an application (possibly an installer) run automatically upon mounting a disk image, but that's not the norm.

Ping & DNS - updated with new look and Ping home screen widget
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990

Oh ok. Got it now.
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3476

Why there is DMG in the first place? what is the purpose of treating a software as a device?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60046

Think of a zip file that acts like a mountable volume.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Difference between .dmg and .app
Similar Threads
About the new Mac App Store
MySQL - Best way to install
random numbers, returns a negative number?
Upgrading eclipse on Mac
Need help decompiling version 50 class files