coyot linden

Q: hdiutil detach doesn't remove icon from desktop

I am writing an installer script.  Using hdiutil, I am able to mount the DMG, copy the bits off and then, supposedly, detach the disk.  The detach appears to succeed (paste is from log file capturing output):

 

08/30/16 21:18:30 APPLY UPDATE: hdiutil detach succeeded

08/30/16 21:18:30 APPLY UPDATE: "disk3" unmounted.

"disk3" ejected.

 

however, the installer icon is still on the desktop.

 

Is there a way to get hditutil to remove the icon it put there?

 

Thanks,

 

coyot

MacBook Pro, OS X Yosemite (10.10.4)

Posted on Aug 30, 2016 2:51 PM

Close

Q: hdiutil detach doesn't remove icon from desktop

  • All replies
  • Helpful answers