2

I have downloaded a dmg file but when I click on it it keeps verifying.

I've also tried to go to /System/Library/CoreServices/Installer.app but I can't click on the .dmg because it is greyed out.

How can I open it?

5

UPDATE

You can mount the DMG and skip verification without turning it off. I thought about it.

Open Terminal and type in:

sudo hdiutil attach -noverify /Path/To/Your/DMGFile.dmg

If you have the DMG file on your Desktop, and the DMG was named "Broken.DMG" you could type in something like this:

sudo hdiutil attach -noverify ~/Desktop/Broken.dmg

That should help you out.


You can skip verification by opening Terminal and typing in:

sudo defaults write com.apple.frameworks.diskimages skip-verify TRUE

This will stop the verification of DMG files permanently. After you've managed to skip the verificatio and open that file, it would be a good idea to re-enable the verification by opening Terminal again and typing in:

sudo defaults write com.apple.frameworks.diskimages skip-verify FALSE
1

The verification is used to make sure the .dmg package is not corrupted. You'd better wait the verification to be done.

If you really wanna skip the verification, execute the following commands in the Terminal,

# Disable the "Are you sure you want to open this application?" dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false

# Disable Disk Image Verification: Verifying ...
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true

To reverse the settings,

defaults delete com.apple.LaunchServices LSQuarantine -bool false


defaults delete com.apple.frameworks.diskimages skip-verify
defaults delete com.apple.frameworks.diskimages skip-verify-locked
defaults delete com.apple.frameworks.diskimages skip-verify-remote

References

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .