Questions tagged [dmg]

Apple Disk iMaGe file format

Filter by
Sorted by
Tagged with
0
votes
2answers
64 views

How can I find all the modifications and installations done by a spam dmg?

I downloaded a 1.5 MB dmg file from a inauthentic site and despite suspicion, opened it and opened the app inside it. Assume that the game I wanted was game, so it was named game.dmg. It mounted ...
0
votes
0answers
22 views

Convert .dmg installed files to brew/brew cask installation method

Is there a way to convert .dmg installed application in to a package management installation application? ex: brew/ brew cask package management application where we can directly use those commands ...
3
votes
0answers
55 views

How can I detect which button was clicked in the DMG EULA confirmation screen

I'm using the open command to automate (via bash) opening a dmg which has a EULA attached to it. When I run open my_app_distribution.dmg I get a screen that looks like this: The open commands uses ...
1
vote
0answers
26 views

Create DMG on linux via SSH

I would like to integrate my Time Machine backups with a manual script that will create a compressed and encrypted DMG image from some folders. Reading about this issue, I can create a DMG, for ...
1
vote
0answers
30 views

How to execute a PKG file using a custom universal keyboard shortcut?

It may sound strange but I need to run a specific PKG installer whenever I trigger a specific custom keyboard shortcut. On Sierra 12.6 I've assigned a custom keyboard shortcut to sleep/lock-screen the ...
1
vote
0answers
359 views

macOS High Sierra (10.13.6) Cannot Install Updates

I'm having difficulty installing the latest update on my Mac Mini from 2011 (macmini5,3). The current pending update is "Security Update 2019-003-10.13.6." When I attempt to install the update: It ...
0
votes
1answer
143 views

Google Chrome for macOS: How to bypass “This type of file may harm your computer” and save file automatically

Every time I download a .DMG file using Google Chrome, I have to open the Downloads tab and manually keep it which is super annoying. It shows This type of file may harm your computer message. Is ...
0
votes
2answers
134 views

Can I see all locations that a DMG file install files to?

I wonder if there is a way to sort of "unroll" a dmg file and reveal which directories it will install files to?
1
vote
1answer
39 views

Running Compiled AppleScript from DMG Doesn't Work

As a follow up for my previous question (Set the Working Folder of .app Created by Apple Script) I have the following problem. I have an AppleScript which is Poor man's Installer: tell me to ...
1
vote
0answers
24 views

Is there a way to prevent simultaneous mounting of a DMG in a shared folder?

I share encrypted disk images (dmg) over Dropbox to share sensitive information with others (or across my own machines). Is there a way to 'lock' the DMG when it is mounted in one machine so that it ...
3
votes
1answer
48 views

Attach one .dmg file on different computers at the same time (hdiutil attach)

I have a question about "hdiutil attach" I've "created" (ctrl+c/ctrl+v) one bash script to execute some .app automatically. First im mounting shared folder: mount_smbfs -o nobrowse //SERVER/share "...
0
votes
0answers
145 views

How to make a bootable USB drive from a dmg containing multiple partitions

I have a USB flash drive of the Mojave installer from which I created a dmg containing two partitions: the installer partition and a custom EFI partition. The drive booted and installed fine. How do ...
1
vote
1answer
56 views

I think I opened an unsafe unix exe file! Can anyone tell me what this file might've done?

I was downloading a crack file for premier 2019 pro cc as something went wrong with my subscription and now I don't have premier, so when I opened the dmg. It showed an installer and I went through ...
1
vote
1answer
150 views

Block opening of DMG files by non-admin user

I set up Parental Control for a user but said user is still able to download and install additional software from DMG files (among other they downloaded TOR browser which bypasses parental control).. ...
0
votes
1answer
300 views

10.6.8 Update Combo Failed Unknown Error

I recently received an old iMac 27" aluminum unibody core 2 duo (EMC 2309: 2009 model) that was having troubles with the graphics card after High Sierra installation. I was looking to set it up as a ...
1
vote
0answers
98 views

How can I access to the info of a DMG created with “dd” command in Terminal, that can't be mounted?

I had an HDD with bad sectors. Tried to recover some info with Disk Drill (which I successfully did) but not all because of the bad sectors. So I tried to make a duplicate of a big folder which was ...
-2
votes
1answer
297 views

A script to shrink and compress DMG disk images does not seem to work well in my scenario

I'm trying to resize the *.dmg of my MAC OS X installation file because I have only DVD of 4.7 GB and not dual layer disks,at the moment. The problem is that the dmg file is almost 7 GB large and I ...
1
vote
1answer
49 views

Password protect disk images on Mac from deleting

I know that I can create a password protected dmg file with more folders in it. But I want to know if there's a way through which I can prevent any action on the dmg file itself. Because right now, if ...
1
vote
1answer
34 views

Mac location not found for opened .dmg

I tried downloading android-studio-ide-181.5056338-mac.dmg to install it, but double clicking the .dmg does not nothing but put Android Studio 3.2.1 under the locations sidebar in the Finder. When I ...
3
votes
1answer
563 views

Create dmg file on macOS 10.14 that can be opened on macOS 10.11

Running $ hdiutil create -size <size>b <.dmg-file> -srcfolder <directory> -ov -format UDBZ on macOS 10.14 creates a dmg file that can't be opened on macOS 10.11. Is there an option ...
3
votes
2answers
232 views

How to make a modified dmg distributable?

Adding files to a dmg and redistribute it Purpose : Adding some settings files to firefox.dmg (mozilla.cfg and policies.json) in the objective of redistributing the modified dmg How the dmg is ...
0
votes
1answer
391 views

Names and location of .dmg files for OS X installation

I believe a file was download and mounted to a director under Applications: cd /Applications ls -l | grep -i install drwxr-xr-x 3 root wheel 102 Nov 2 23:55 Install macOS High Sierra.app Is ...
1
vote
1answer
93 views

iMac Mid 2010 USB recovery [duplicate]

I replaced tha hard drive on my Mid-2010 iMac because it failed and was unrecoverable. Now I need to install Mac Os High Sierra (the latest for Mid 2010), using a USB drive I have to create on ...
1
vote
0answers
888 views

Can't install Inkscape on macOS High Sierra 10.13.6 (17G65) via DMG or Homebrew

I've been trying to install Inkscape 0.92.2 via DMG (Xquartz) and via Homebrew (Cask), having previously installed Xquartz (2.7.11) without issue, on my Macbook Pro 13. Once Inkscape has installed it ...
4
votes
1answer
545 views

Gatekeeper refuses validly signed application

I am trying to publish a signed application, but when downloading it through internet, gatekeeper complains: Furthermore, the help page says that the app has been tampered with: Which is actually ...
11
votes
5answers
12k views

Can't remove “Install macOS High Sierra.app”

I had to make a bootable macOS High siera install, everyhing went well and it worked. I'm trying to remove the app that I used to install it and trash won't let me. Everytime I try I get an The ...
2
votes
1answer
214 views

How to wrap a DMG file with a wizard installer?

I have a question about installers for mac. I have chromium.dmg which contains Chromium web browser. I would like to create a wizard installer that installs chromium then allows the user to ...
2
votes
0answers
94 views

Massive .dmg file in /Users/username/firmware/ folder: any ideas what the heck it is?

So, I've discovered that there's a 2.57GB .dmg file in the /Users/username/firmware folder on my Mac (High Sierra v. 10.13.6). The filename is <058-97232-130.dmg>. There are a couple of other dmg ...
5
votes
1answer
12k views

Show Package Content option not available in High Sierra on a pkg file

I want to "Show Package Content" of a pkg file which is inside this dmg file : https://desktop.visio.renater.fr/scopia/entry/pic/ClientComponents.dmg So I drag'n'drop the pkg file which is inside the ...
5
votes
2answers
2k views

Create disk image which can be read on Windows

I am interested in creating a disk image, using Disk Utility (or any other software) on macOS which can also be read on Windows. Disk Utility provides the ability to create .dmg, .sparseimage, and ....
1
vote
0answers
110 views

Cannot install application from DMG as it assumes a different source

I downloaded a dmg for Docker from their website and when I try to run it, it opens a window with the name of an application I installed earlier The title bar says Franz 5.0.0-beta18 which is ...
2
votes
1answer
407 views

can't get into encrypted .dmg files even though I could the day before and I am 100% certain the password is correct

I needed to encrypt a few folders on my MacBook (one of the first of the 'just MacBooks', running High Sierra now, though the problem started under the previous OS). I followed the instructions on ...
1
vote
1answer
123 views

See a log of all DMG files that were mounted

Today I saw for a very brief moment (like a fraction of a second) an alert telling me that some “BaseSystem.dmg” file was being mounted, even though I wasn’t trying to mount anything, nevertheless a ...
3
votes
0answers
40 views

Mount HFS+ filesystem with disable read and write caches

I've got the HFS+ filesystem represented by .dmg image file. For security reasons I'd like to make sure every I/O applies directly to the .dmg file and not through any kind of memory in the middle. ...
2
votes
1answer
2k views

Using terminal, how can I install a DMG file without sudo rights?

All of the answers to this question Is there a command to install a dmg work for me in installing a DMG file from the command line. But I don't want to have users need to enter the sudo password, it ...
4
votes
1answer
4k views

How do I install a .dmg file without being a sudo user?

I am on macOS Sierra version 12.10.16. I downloaded an application. This app has .dmg extension. I would like to install it without using sudo or without being one of the sudo users. When I do ...
3
votes
1answer
115 views

I've created multiple DMG files from the same folder - checksum is different on each?

Quite some time ago I've noticed that even if I create DMG files from the same directory, with same files and etc, the results are always different. Not only their size is ~15 bytes shorter/longer ...
1
vote
1answer
224 views

auto mount HFS+ filesystem from disk image (.dmg file)

I'd like to auto mount my dmg file which represent disk image with single HFS+ partition upon every boot. is it possible through autofs ? do I have to set the location of the dmg file in any ...
2
votes
0answers
23 views

How can I mount a dmg based filesystem for one specific process or user

I've got dmg file that formatted to HFS+ filesystem and i'd like to mount it with limited access rights. Is it possible to create a mountpoint that will be accessible to specific user (by name) or ...
3
votes
1answer
2k views

How to Make Bootable APFS Volume From Disk Image

I am currently using terminal to early and quickly add APFS volumes to my Mac's APFS container. Once I make an empty APFS volume in the container, how can I copy a disk image to it and make it ...
0
votes
1answer
940 views

Do applications install for all users or only for one?

If I install a application using *.dmg image using user user1, it will be available when user2 log in as well? or it will be available only for user1 ?
1
vote
0answers
127 views

Same DMG, different MD5

I created a Read/Write DMG file from a folder in my Mac, size is about 175GB. Then I copied the DMG to an external HD for backup. To ensure data integrity, I checked the MD5 of both, local HD and ...
1
vote
1answer
279 views

How does one convert a dmg inside a DVD to individual videos or watch the dmg DVD file in an iphone?

Since DVDs are essentially becoming obsolete or at least the macbook laptops do not have accessibility to them anymore, I thought it would be good to back a backup for them before I get rid of the DVD ...
1
vote
0answers
2k views

The operation can’t be completed because the original item for “Foo” can’t be found - Mounting .dmg

I've seen this error message referenced a lot in relation to connecting to network shares (see The operation can’t be completed because the original item for “Foo” can’t be found) but I am having this ...
1
vote
1answer
191 views

Error while using setfile to set icon for dmg created via hdiutil in mac

I have created an app & signed using "Developer ID Application: x" certificate. then using hdiutil i created the dmg hdiutil create -size 1.5m -format UDRW myapp.dmg -srcfolder ./myapp/ -fs HFS+ ...
28
votes
3answers
5k views

Why do we install software via `.dmg` files?

When I want to install software, I typically download a .dmg (Disk iMaGe) file. When I open it, this .dmg file looks like what I would call a "virtual disk" (hence its name I presume) and is listed in ...
2
votes
1answer
434 views

On High Sierra, how to make a writable disk image open a window automatically?

I have some read-write disk images (some .dmg format, some in .sparseimage format) that I want to automatically open a Finder window to their base folders when I double-click them. Up to now, I have ...
3
votes
1answer
1k views

Convert a plain disk “legacy image” so that it can be mounted

I have a plain disk image, created from using dd. When I try to mount it in Sierra (10.12.6), DiskImageMounter.app tells me: legacy image should be converted How do I perform such a conversion? I ...
0
votes
1answer
308 views

For the purposes of archival uploading to Google Drive/Dropbox/Etc, what are the differences between DMG and SparseImages?

I recently have a large amount of data I needed to upload into Google Drive. I decided to use Disk Utility to create a container for it (otherwise Google Drive would have to create many files and ...
0
votes
1answer
59 views

Automating processes through a DMG file

Is it at all possible to create a DMG file which will run a few terminal commands when opened? These are examples for the commands: create a new folder with specific name. Place it in a specific ...