apple Disk iMaGe – a popular format for distributing OS X applications.
Questions tagged [dmg]
272 questions
13
votes
6 answers
Do I need an Apple Developer account?
I am newbie in Xcode and Mac. I can make programs working well on simulators but cant make dmg files . Somewhere I heard I need an Apple Developer account ( 99$) for that but I dont want to publish my file on App store. I just need to install it on…

user1616720
- 151
- 1
- 1
- 4
13
votes
3 answers
Extract from DMG
How to extract content of DMG without mounting it?
I want add autoupdate system to my application. It downloads DMG from website, then extract new version of application from it.

Henry Manister
- 176
- 1
- 1
- 4
12
votes
1 answer
Automating DMG build in Xcode 4.0
I've just updated to Xcode 4.0.2 and I have a project which builds a DMG file as part of the final build phase. This worked great in Xcode 3.2.x but is broken in Xcode 4 because of the way it builds a release version when building to archive. Is…

JWood
- 2,804
- 2
- 39
- 64
11
votes
3 answers
Installing cuda via brew and dmg
After attempting to install nvidia toolkit on MAC by following guide : http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#axzz4FPTBCf7X I received error "Package manifest parsing error" which led me to this : NVidia CUDA…

blue-sky
- 51,962
- 152
- 427
- 752
11
votes
4 answers
Install dmg package on MAC OS from Terminal
I would like to install the dmg java package in my MAC OS through the terminal
I tried using this command:
sudo installer -package jdk-7u51-macos-x64.dmg -target /
But I receive this error:
installer: Error the package path specified was invalid:…

user3472065
- 1,259
- 4
- 16
- 32
11
votes
2 answers
Can't configure background image for DMG installation using CMake
I am working with CMake 2.8.10.2 on Mac OS X 10.7.5.
I've configured CMake to build a simple application with Xcode that creates an empty window. I then tried to configure CMake to build a DMG installation of the program specifying a background…

Tron Thomas
- 871
- 7
- 20
11
votes
1 answer
Create installer for Mac OS X in Xcode
I have created a small application in Xcode. How can i make that application as an installer (.DMG). I am new to this Mac OS x and Xcode environment.
Do i have to use a third party software or are there any methods in Xcode4 itself to create a…

Navin
- 554
- 2
- 9
- 31
10
votes
1 answer
How to include installer dependencies in dmg/pkg on mac
I have a mac application (Eg. Sample.pkg containing Sample.app) along with few pkg dependencies (Eg. A.pkg and B.pkg ). Whenever the user runs the dmg/product archive bundled with these three packages, A.pkg and B.pkg has to be run first before…

Sumalatha Abhishek
- 641
- 1
- 8
- 16
9
votes
2 answers
How to simulate slow DVD drive?
Does anyone know any feasible ways to simulate a slow DVD drive, e.g. over a mounted DMG/ISO image?
The goal is to program against a slow drive, thus a simulation requirement. Any ideas would be greatly appreciated!
Update: again, the goal would be…

Ain Tohvri
- 2,987
- 6
- 32
- 51
8
votes
2 answers
Creating DMG without extra space
I currently use hdiutil to create my DMGs.
The command I use is hdiutil create -size xxxg myImage.dmg -fs HFS+. I'm always left fidgeting around with the size until I get it close enough.
Is there a better method that either shrinks the DMG to…

user870130
- 565
- 1
- 8
- 16
8
votes
3 answers
Detecting whether an application was launched from a read-only file system on OS X
I want to know whether the user launched our Java-based application from a read-only file system like from a .dmg, so functions like auto-update will be able to show meaningful information instead of aborting with an error. I first thought checking…

Thomas S.
- 5,804
- 5
- 37
- 72
8
votes
2 answers
Programmatically add application icon to dock on install
I would like my application to be automatically added to the dock after the package (DMG) is installed?
Does anyone know how to do this?

andrewmore
- 215
- 2
- 8
7
votes
3 answers
“iOS 17.0.simruntime” cannot be opened because the developer cannot be verified
I just downloaded the iOS 17 runtime, but after copying it into the destination, this popup opens and the Xcode could not use the simulator as expected:
Downloaded from the Apple Developer site
How can I fix this?

Mojtaba Hosseini
- 95,414
- 31
- 268
- 278
7
votes
4 answers
How I make a dmg installer that will automatically open after download?
I have seen some dmg's which not only mounts after download but also copies the installer in the download folder and open the installer in Installer Application.
I don't know how to do it?
Can anyone help?

Raiyan Kabir
- 1,016
- 2
- 11
- 23
7
votes
1 answer
The javapackager is unable to generate a dmg on macOS
I am trying to generate a dmg from a jar using the javapackager.
Here is what I put into terminal:
cd "/Users/name/Documents/JarToApplication"
jdk=$(/usr/libexec/java_home -v 1.8)
$jdk/bin/javapackager -deploy -native dmg -BappVersion=8 -name…

Blockhead7360
- 145
- 10