i was using mac the other day i found that it doesn't support .exe file but it needs .dmg file...what is the difference between .dmg and .exe file!!

link|improve this question
1  
Try superuser.com – Abizern Dec 12 '10 at 18:16
Can anyone migrate this into superuser? – the_drow Dec 12 '10 at 18:21
@Arjan - Good point and my apologies. – Abizern Dec 13 '10 at 11:41
feedback

migrated from stackoverflow.com Dec 13 '10 at 11:24

This question came from our site for professional and enthusiast programmers.

3 Answers

A dmg file is a disk image, and an exe is a Windows executable file.

link|improve this answer
which is the disc image file in windows... – abhinav Dec 12 '10 at 18:17
@abhinav Not really a good analogy. A dmg is more like a "VCD" (virtual CD) image -- OS X+ dmg files use the UDIF file-format. Not really sure what happened on OS 9. – pst Dec 12 '10 at 18:19
@abhinav: No, .exe is not a disk image file. A disk image is a virtual disk which can be mounted (just like, say, a USB drive) and contains other files. You can't "run" a disk image directly, you "open" it and then run programs from within the image. (In strictly Windows terms, a .dmg behaves pretty much like a .zip archive, not like a .exe executable.) – Dave Sherohman Dec 13 '10 at 12:11
feedback

.exe files are windows executables; they need windows to run.

.dmg are Apple Disk Image files, which can contain mac executables and/or other data.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.