When I mount a DMG image with

hdiutil -noautoopen

and try to suppress the finder window with any and all command line arguments to HDIUTIL it still open's a Finder window. There must be a way to prevent this... am I wrong?

link|improve this question
Since I´ve just tried hdiutil attach -noautoopen /path/to/read-only.dmg and it worked fine, could you please specify what kind of .dmg you are trying to open (read-only or not, which format)? – Asmus Mar 1 '11 at 16:32
I'm specifically testing with this one... airdownload.adobe.com/air/mac/download/latest/AdobeAIR.dmg – Clint Modien Mar 1 '11 at 16:56
feedback

migrated from stackoverflow.com Mar 1 '11 at 15:21

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

By default the Finder will always auto open read only images. Try to pass -noautoopenro!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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