Questions tagged [dmg]

apple Disk iMaGe – a popular format for distributing OS X applications.

272 questions
7
votes
6 answers

Mac DMG oddity - signing and "damaged" applications

My Gatekeeper settings are "App Store and Identified Developers" I have a DMG with a signed app. When I mount the DMG and run it locally, it works. when I upload the same DMG to our servers (via http), download it (via http), mount it, and try to…
JasonGenX
  • 4,952
  • 27
  • 106
  • 198
6
votes
1 answer

Add background image/color to DMG using hdiutil or other tool?

Possible Duplicate: How do I create a nice-looking DMG for Mac OS X using command-line tools? It seems like using Finder UX or some sort of UI tool (Create drag-drop graphic when installing OS X application from dmg) the only way to customize how…
psychotik
  • 38,153
  • 34
  • 100
  • 135
6
votes
1 answer

What are the differences between .dmg and .app file?

What are the specific differences between disk image file and .app extension in macOS
vasanths294
  • 1,457
  • 2
  • 13
  • 29
6
votes
2 answers

How to create a compressed dmg file using Linux tools?

There are a lots of question teaching how to create a DMG file from Linux. But none of them is clear about how to add compression to it. I usually create a DMG package to redistribute to MacOS, but I would like to add compression as Apple…
jcfaracco
  • 853
  • 2
  • 6
  • 21
6
votes
7 answers

How to build native Mac OS X installer (on a non-Mac platform)?

How can I build a native Mac OS X installer for my application, on a non-Mac platform? For example, I have a windows pc and a Java application. I want the windows pc to build an installer (possibly inside a .dmg archive) that works with Apple…
michelemarcon
  • 23,277
  • 17
  • 52
  • 68
6
votes
3 answers

convert java app to mac installer...dmg

I would like to know do we have any software to convert java app i mean .jar file to .dmg file (installer for mac).Thanks in Advance.
sneha
  • 61
  • 1
  • 1
  • 2
6
votes
0 answers

programmatically mount a disk image(DMG) in mac os x

Q. How to mount an apple disk image programmatically ? My approach is similar to use disk arbitration for mounting as shown here. I prefer not to use any command line tool. The un-mount and eject works perfectly but the mount needs a BSD…
bikram990
  • 1,085
  • 1
  • 14
  • 36
6
votes
3 answers

Creating customized .dmg files upon download

I want to distribute a cross-platform application for which the executable file is slightly different, depending on the user who downloaded it. This is done by having a placeholder string somewhere in the executable that is replaced with something…
Marten
  • 1,136
  • 1
  • 8
  • 15
6
votes
1 answer

IS there any way to add an alias to the user Documents folder inside a DMG

It is easy enough to add an alias to the Applications folder inside a DMG as it is at /Applications on every Mac. But is it possible to add an alias to a user's Documents folder, where the Documents folder has a different path for each user? I tried…
Andy Brice
  • 2,297
  • 1
  • 21
  • 28
6
votes
0 answers

Setting font color of Icon View Options

While building a custom dmg 'drag installer', a question arose whether the font color of labels under the icons can be changed. The information in here doesn't seem terribly positive - there is no such property in the "Icon View Options" object.…
qdot
  • 6,195
  • 5
  • 44
  • 95
6
votes
2 answers

How to serve a .dmg file via PHP/readfile?

I'm having no luck serving a .dmg from my online store. I stripped down the code to just the following to debug, but no matter what I get a zero-byte file served: header('Content-Type: application/x-apple-diskimage'); // also tried…
CaymanCarver
  • 389
  • 3
  • 14
5
votes
1 answer

Do .dmg files need to be signed?

I've packaged my mac application into a .dmg file, but when I mount the file and double click on the app I get this warning "MyApp is an application downloaded from the Internet. Are you sure you want to open it." I don't want my app to look…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
5
votes
1 answer

Create drag-drop graphic when installing OS X application from dmg

A lot of applications on the mac show a little graphic when the installer DMG is initially opened - the graphic basically allows you to drag and drop the app in that window without having to do it in finder (I'm not talking about package manager…
psychotik
  • 38,153
  • 34
  • 100
  • 135
5
votes
1 answer

How to detect if an app is run from the dmg file?

Some of our users seem to run the app from the dmg file and never move it to their /Applications folder: Which may explain why we're seeing this message in our internal logs: Cannot update while running on a read-only volume. The application is on…
customcommander
  • 17,580
  • 5
  • 58
  • 84
5
votes
0 answers

Creating .dmg for Qt app mac OSX

I see so many questions and posts asking about this, and almost everywhere I see the op being asked to refer to http://doc.qt.io/qt-5/osx-deployment.html But the problem for someone who is new to Qt is difficult to understand there how to generate…
arqam
  • 3,582
  • 5
  • 34
  • 69
1 2
3
18 19