Open DMG File
DMG is used for disk image files on Macintosh computers running Mac OS X. This file extension replaces the older file extension IMG which was discontinued during the release of later series of Mac operating systems. You can open DMG file on Mac, Linux, and Windows operating systems but it will require additional software to be installed on Windows. Note that on Windows and Linux you cannot open every DMG file, since there are certain software limitations on DMG format variation.
DMG files are used by Apple for software distribution over the internet. These files provide features such as compression and password protection which are not common to other forms of software distribution file formats. DMG files are native to Mac OS X and are structured according to Universal Disk Image Format (UDIF) and the New Disk Image Format (NDIF). They can be accessed through the Mac OS Finder application by either launching the DMG file or mounting it as a drive.
Name of the JAR file that contains the main class for the application. The file name is typically extracted from the JAR file manifest, and doesn’t need to be set if you’re using the other javapackager commands. PreferencesID= node. Preferences node to examine to check for JVM options that the user can override. Create a.pkg file from a.dmg in order to be used for auto-install ( Casper Composer ) Ask Question Asked 4 years, 5 months ago. Active 2 years, 11 months ago. Viewed 8k times 2. I would like to create a.pkg file using the Casper composer but i don't know which files of the.dmg to include. How should I translate 'the fighting boar' in.
DMG is also referred to as the Apple’s equivalent to MSI files in Windows PC. Non-Macintosh systems may access DMG files and extract or convert them to ISO image files for burning. Several applications are designed to offer this solution for Windows systems.
Convert DMG to ISO File. A.DMG file is the disc image file used by MAC OSX. It is an exact copy of a hard disk or compact disk. The DMG file can be burned to a CD or mount as a normal volume on Macintosh computers. Usually, the data in DMG file is stored in compressed format. On a Windows PC, AnyBurn can convert DMG file to ISO format, or burn. Then, installers need to be created. In the spirit of Node.js development, the solution for both tasks comes in the form of npm modules. Traditionally, developers would use bite-sized modules to build custom build pipelines, combining modules such as electron-packager, electron-winstaller, or electron-installer-dmg into artisanal scripts. As interest in Electron grew and support for more distribution methods was added, creating a build pipeline from scratch became an increasingly daunting task.
7-Zip and DMG Extractor are the best options to open DMG file on Windows because they are compatible with the most DMG variations. For Linux a built-in 'cdrecord' command can be issued to burn DMG files to CD's or DVD's.
Aside from the Finder application, you can open DMG files through Apple Disk Utility, Roxio Toast, and Dare to be Creative iArchiver for Mac platform. On the other hand, additional applications such Acute Systems TransMac, DMG2IMG, and DMG2ISO can be installed on Windows to fully support the files.
Read how you can open DMG files on Mac OS, Windows and Linux.
DMG files are transferred over e-mail or internet using application/x-apple-diskimage multipurpose internet mail extensions (MIME) type.
Following file types are similar to DMG and contain disk images:
- ISO File - ISO disk image file
- IMG File - IMG disk image file
- VHD/VHDX File - Virtual Hard Drive image file
Developing an application is only part of the story. You must now get it out there for people to use. Given that this is a UNIX-based operating system, you could just
tar
and gzip
your file. That’s fine if your end users are mostly UNIX users, but this doesn’t meet the needs of more general users. To complete the transition, you should package you application like other Mac apps. This chapter walks you through some of those details since they are probably new to you as a UNIX developer.This chapter is important for all non-command-line developers, whether your application is an end-user commercial suite or an open source tool.
Bundles vs. Installers
Most applications in OS X do not need to use an installer. To make installation and removal easy, OS X provides bundles.
A bundle is basically a directory that contains an application. Unlike normal folders, however, it appears to the user like an ordinary file. The user can double-click a bundle, and the application will launch. Since the bundle is really a directory, it can contain all the support files that are needed for the application.
The reason to use bundles is somewhat obvious if you have installed many applications in OS X: applications in the form of a bundle can be installed simply by dragging the application to the destination folder in the Finder.
There are, however, some situations where bundles are problematic. An application that installs kernel extensions, startup items, system-wide preference panes, or any other system-wide resources cannot be installed by dragging the application, since those resources need to be in a separate place on the drive.
If your application requires installing a startup item, the only practical way to install your application is the use of an installer. OS X makes this easy using PackageMaker. Other commercial solutions are also available from various third parties such as Stuffit InstallerMaker from Aladdin Systems and Installer VISE from MindVision.
In most cases, however, it is preferable to install system-wide components the first time your application is launched. You can do this using Authorization Services, as described in the book Authorization Services Programming Guide, available from the Apple Technical Publications website.
For more information about how to create a bundle, see Bundle Programming Guide.
Packaging Basics
There are two main applications for compressing your application: Disk Utility (or Disk Copy in older versions of OS X) and PackageMaker. Disk Utility allows you to create compressed disk images (similar to an ISO file, but compressed), whereas PackageMaker creates packages that can be installed using the OS X installer.
The recommended form of application distribution is a compressed disk image. A compressed disk image preserves resource forks that may be present, allows drag-and-drop installation, allows license display, and even allows encryption of data, if required.
If your application is a single application bundle, simply put it and any relevant documentation on a disk image with Disk Utility, then compress it and distribute it.
If you have an application that requires administrator privileges to install into privileged directories or requires more than a simple drag-and-drop installation, use PackageMaker (
/Developer/Applications/PackageMaker
) to build installer packages for Apple’s Installer application.The basics of using Disk Utility to make a disk image are given in the next section. For help using PackageMaker, choose PackageMaker Help from the PackageMaker Help menu.
Disk Utility (or Disk Copy)
The following steps help you package your application as a disk image (
.dmg
file) for distribution on OS X.Js File Packaging Into Dmg Mac
- Open
/Applications/Utilities/Disk Utility.app
by double-clicking it. - From the Image menu, choose New Blank Image. Disk Utility opens a new window with customization options as in Figure 8-1.
- In the “Save as” text box, enter the name of the compressed file that you will distribute. By default, a
.dmg
suffix is appended to the name you enter. Although it is not required, it is a good idea to retain this suffix for clarity and simplicity. - In the Volume Name text field, enter the name of the volume that you want to appear in the Finder of a user’s computer. Usually this name is the same as the name of the compressed file without the
.dmg
suffix. - In the file browser, set the location to save the file on your computer. This has nothing to do with the installation location on the end user’s computer, only where it saves it on your computer.
- Set the Size pop-up menu to a size that is large enough to hold your application.
- Leave the Format set to Mac OS Extended (the HFS+ file format).
- Leave Encryption set to none. If you change it, the end user must enter a password before the image can be mounted, which is not the normal way to distribute an application.
- Click Create.
Once you have a disk image, mount it by double-clicking it. You can now copy your files to that mounted image. When you have everything on the image that you want, you should make your image read-only. Again from Disk Utility, perform these steps:
- Unmount the disk image by dragging the volume to the Trash, clicking the eject button next to the device in a Finder window, or selecting the mounted volume and choosing Eject from the Finder’s File menu.
- Choose Convert Image from the Image menu.
- In the file browser, select the disk image you just modified and click Convert.
- Choose a location to save the resulting file, change the image format to read-only, and click Convert.
You now have a disk image for your application that is easy to distribute.
Creating Disk Images Programmatically Using hdiutil
If you find yourself regularly creating disk images, you may find it helpful to automate this process. While a complete script is beyond the scope of this document, this section includes a code snippet to get you started.
For more information on hdiutil, see
hdiutil
.Listing 8-1 Automatic Disk Image Creation using
hdiutil
Tell the World About It
Once you have an application, how do you get the word out? First, let Apple know about it. To get your application listed on Apple’s main download page for OS X, go to http://www.apple.com/downloads/macosx/submit/ and fill out the appropriate information about your application. You should also go to http://guide.apple.com/ and at the bottom of the page, click Submit a Product to get your application listed in the Apple Guide. You might then also want to send notices to http://www.versiontracker.com/and Macintosh news sites like http://www.macworld.com/ and http://www.macnn.com/.
Js File Packaging Into Dmg Download
Js File Packaging Into Dmg Store
Copyright © 2002, 2012 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2012-06-11