Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When I install software from a .dmg, the verification window pops up, which I suspect is normal. When it's done, though, the Finder window - you know, the "Drag to Applications to install" box - pops up under everything else. This is crazy-annoying.

After reading this other thread explaining how to craft a DMG with a script to surface the window, I now believe this is the normal behavior on Lion.

How might I "fix things" so I get a DMG to pop up without needing to reprogram each one?

share|improve this question
    
Same thing happens to me. This question also looks like a duplicate of: apple.stackexchange.com/questions/7608/… –  Nix May 12 '12 at 23:00
    
let's keep both questions. The other one is more about how can I roll my own DMG so that they don't follow the default behavior. This one can be for someone who figures out how to change the default behavior. –  bmike May 14 '12 at 16:15
    
Sounds good to me, though I think it's true that this only seems to be an issue when opening DMGs around Google Chrome. Will test some more to make sure. –  Kerin May 14 '12 at 16:52
2  
That's not "an installer," it's a disk image that has been mounted in Finder. –  fluffy May 14 '12 at 18:11
    
Really? With the often-customized graphics prompting the user to drag-and-drop to install? Looked like an installer to me. –  Kerin May 15 '12 at 3:46
show 6 more comments

1 Answer

Digging around on Apple Discussions, I found this hint for this problem:

In Terminal.app, execute (all on one line, no carriage return) (does not require sudo)

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

A successful run produces no output.

After doing that on my machine (OS X 10.8.2 12C60), the expected behavior for read-only .dmg's momentarily occurs, i.e. when opening .dmg's from Firefox or from the Downloads folder on the Dock, after accepting the license agreement (if one is present,) the Finder window for the .dmg pops to the foreground.

BUT, this desirable behavior only seems to last a matter of seconds before the old behavior (opening under other windows) recurs. Not sure what to make of it. Probably some conflict going on within LaunchServices, either an Apple bug, or maybe interference from some other application.

In my case, I have a lot of third party file-system and UI tools such as PathFinder, DefaultFolderX, KeyboardMaestroX, etc, maybe one of these is to blame.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.