hdiutil detach is not delete the desktop icon

I write an installation script.  With the help of hdiutil, I am able to mount the DMG, copy the stop bits and then, supposedly, detach the drive.  Detachment seems to be working (the dough is capture of the output log file):

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

30/08/16 21:18:30 UPDATE if APPLIES: "disk3" not mounted.

"disk3" ejected.

However, the installation icon is always on the desktop.

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

Thank you

Coyot

http://newsourcemedia.com/blog/eject-or-unmount-a-disk-through-the-Terminal/

Tags: Mac OS & System Software

Similar Questions

  • Macintosh HD not on the desktop icon

    Erased my 13-inch Mid 2007 MacBook so I could give to my granddaughter. The Macintosh HD icon is not on the desktop. How can I get this back on my desktop?

    This assumes you have now a what OS X installed on the computer running. given that

    other reasons (especially if the system is not fully or correctly installed) may not.

    1. In the Finder, choose Preferences from the Finder menu.
    2. Click the general icon in the toolbar.
    3. Select "Hard disks" in the "show these items on the desktop:" section.
    4. Close the Finder Preferences window.

    • Mac OS X v10.6: how to show the icon for your drive on the desktop - Apple Support

    The instructions above article apply to other versions of OS X Snow Leopard and Lion.

    Just that some versions of OS X is more by default displays the Macintosh HD on desktop.

    For many items, the integrated help viewer can be used to help find answers.

    If you have other topics of inquiry, please post even if it can be

    some time depending on the time of day (half a world away, maybe?) before a response.

    I hope you can find a good book like offers from manual of the Missing series for offline use.

    For older versions of OS X, I found the used items store or thrift shops a source.

    Good luck & happy computing!

  • Deleted the desktop icons

    My 3 year old somehow deleted all my desktop icons. I'm looking at in the trash to see if they are there, but without the desktop to the trash icon I can't (I searched). Can someone help me?

    Right-click anywhere on your desktop. Select:

    Rearrange icons by

    Click on:

    Show the desktop icons

  • Cannot delete the desktop icon: Network Magic?

    Running Windows 7 64-bit HP.  Network Magic is installed as a 30 day trial when I've upgraded from Vista to Windows 7 (why I've never waited so long?). I uninstalled by getting in pure Networks/Setup...etc; It's, I think I've done the proper uninstall. However, I can't get rid of his Network Magic Folders icon on my desktop. I can't even move the icon on the desktop. Right click gives: open and create a shortcut.  Selecting open doesn't do nothing, shortened by selecting creates a shortcut on the desktop that can be deleted. Suggestions?

    EDIT: Here's an answer essentially the same question (http://social.answers.microsoft.com/Forums/en-US/w7desktop/thread/3a90c945-1072-4bb7-9afc-ec8df2cee03b).  However, I'm not good in the registry to work, I can't go wrong with it as I don't know if the answer is there.

    That did the trick:

    Delete this key...

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\ {C55C499D-3518-44a1-998E-796AC5FC989D}]
    @= "NetworkMagic.

  • Cannot delete the desktop icon! Driving me crazy

    I currently have a Norton Security Scan icon on my sidebar icon list.  I uninstalled the program, I don't know how she even had it installed since I have McAfee and Windows Defender, but the stupid icon won't go away.  I have tried right clicking 'delete', but it says that it cannot find the file, so it will not remove the icon. Help!

    The easiest way is to reinstall the program > removes the icon > uninstall the program again.

    But you can not reinstall norton, as you now McAfee installed as your AV.

    It's updated operating system Vista, upgraded installation and activate Forum.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/threads

    They will help you with your question in Forum Vista programs at the above address.

    See you soon.

    Mick Murphy - Microsoft partner

  • problems, the mouse does not open the desktop icons when I double cilck on them.

    When I just go from a top of window or office to another mouse open my desktop icons that it works on every thig else but my icons on my desktop windows.

    Hello

    I suggest you follow the troubleshooting steps form the article and check if it helps.

    Fix broken desktop shortcuts and common system maintenance tasks http://support.microsoft.com/mats/system_maintenance_for_windows/en-us mouse, touchpad and keyboard in Windows http://windows.microsoft.com/en-US/windows/help/mouse-touchpad-and-keyboard-problems-in-windows problems fix a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Hope this information is useful.

  • Could not open the desktop icons - this file doesn't have a program (see details).

    original title: when I do a shortcut on my desktop and try again later and access the site by clicking on the shortcut I get the following text "this file doesn't have a program (see details).

    When I click on the registered Web site shortcut it does not work on my desktop & I get "this file has not a program associated with it for performing this action. Create an association in the Folder Options Control Panel. It's ok if you know what that means. I did as he said and got totally confused on what to do and what information I should include. In the end I gave up and now go to my browser and access to the Web sites of this way. His long-winded, but it works! I miss using my shortcuts! Help!

    Hello

    Click Start, Control Panel, add/remove programs
    Click Set Program access and Computer Defaults
    Click Custom and select your web browser, and then clickOK.
  • The desktop icons don't "Refresh" copied or deleted

    This a problem that just started. There are two scenerios:
    1 copy or create a new icon on the desktop, however, it does not appear there. Yet when I go to Windows Explorer and navigate to my desktop folder, the file is there. The only time I can get the icon to appear, or 'Refresh' is when I restart the computer.
    2. I have delete a file on the desktop, however, it is simply there. When I try to delete it again, he says that the file does not exist.

    I think it's just a case of something to is not refreshing the desktop icons when these actions take place.

    Hi HarrisonHodgkins,

    See if updating the video card drivers helps. It works in some cases.

    If not, perform a clean boot and see if this is caused by a third-party software.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

  • Remove the desktop icons.

    I uninstalled a few programs but can not remove the desktop icons.

    Hello

    Try these:

    UnLocker has been reported as having problems on Vista 64-bit.

    DO NOT INSTALL the eBay Option with UnLocker (uncheck in Setup), then
    go to the folder Program Files - UnLocker UnLocker and DELETE the file ebayxxx.exe
    -You can see it easily.

    "C:\Program Files\Unlocker"just the ebayxxxx.exe I forgot its name exactly. "

    Site of the author shows like Vista now supported - download it from Softpedia and the author
    site has a problem right now with the download.
    http://ccollomb.free.fr/Unlocker/   <--- site="" has="">

    UnLocker 1.88
    http://www.Softpedia.com/get/system/system-miscellaneous/unlocker.shtml<-- download="" unlocker="">

    Download - SAVE - go to where you put it-click on - RUN AS ADMIN

    Below also works on 32 and 64 bit Vista

    Another good alternative - use FileAssassin:

    FileAssassin - free
    http://www.Malwarebytes.org/fileassassin.php

    Force delete (cannot delete) closed or in used files or folders with FileASSASSIN
    http://www.mydigitallife.info/2008/12/27/force-delete-cannot-delete-locked-or-in-used-files-or-folders-with-FileASSASSIN/

    Download - SAVE - go to where you put it-click on - RUN AS ADMIN

    And this - MoveOnBoot

    MoveOnBoot
    http://www.softwarepatch.com/software/MoveOnBoot.html

    =====================================

    Another method is to re - install programs, regardless of whether they work, use
    Revo Uninstaller to remove.

    Download - SAVE - go to where you put it-click on - RUN AS ADMIN

    Revo Uninstaller - Free Version
    http://www.revouninstaller.com/revo_uninstaller_free_download.html

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Virtual keyboard rearranges the desktop icons

    Hello, everyone,

    I have ACER Iconia W510 tablet and I am in love with her. It is the most useful computer I've had since the dawn of computers with machine mainframe IBM 360.

    A few days ago I met a problem: whenever the virtual keyboard appears, he climbs all the icons on the desktop and makes a mess. It wasn't like that before - the keyboard did not affect the desktop icons. No doubt some update caused this change.

    How can I return the tablet to its previous state or the DΘsactiver the virtual keyboard to move the desktop icons?

    Hello, I just found the solution. The virtual keyboard has a button to the right for full screen or window. Full screen duration upped everything in his path.

  • Can I hide the desktop icons without removing them from my office to the toolbar?

    When I tried to delete the shortcuts on the desktop it has also removed those in my office in the toolbar

    Hi phillipsides,

    ·         You try to hide or delete the desktop icon?

    ·         The taskbar icons are you referring?

    It is impossible to remove the desktop icons without removing them from the taskbar.

    Hope the helps of information.

  • Create a shortcut on the desktop the icon comes back to a 'globe' for any shortcut, I create. It does not cover the actual icon as shown in the url or web page. Any ideas?

    Create a shortcut on the desktop the icon comes back to a 'globe' for any shortcut, I create. It does not cover the actual icon as shown in the url or web page. Any ideas?

    Hi Ronnie,.

    I see that you can not create a shortcut on the desktop. I'll help you with this problem.

    1. What is the brand and model of the computer?

    2. what operating system is installed on the computer?

    3. what security software is installed on the computer?

    4. have you made changes on the computer recently?

    5 is the issue limited to the creation of shortcuts on the desktop?

    6. How do you try to create a shortcut on the desktop?

    Please provide us with more information to continue troubleshooting as a result.

    See the link on how to ask questions or help on the Forums.

    Suggestions for a question on help forums: http://support.microsoft.com/kb/555375

    Thank you.

  • XP... The desktop icons will not put

    XP... The desktop icons will not put. I did a lot of research on this issue, read the different responses on many forums, including and have tried much of the recommendations... I'm not familiar with the functions of establishment of the arrangement of the desktop icon and this is the first time I met this kind of problem. "Lock Web items on desktop" is checked, "Snap to grid" is not checked (my preference, but I find that it will check mysteriously itself after the icons rearrange themselves to the left of the screen, apparently by making use of automatic reorganization, even if it is not checked), I tried securityguy14 registry change response dated December 7, 2009 , have installed and use the program "Icon restore" that changes the Recycle Bin, my computer, and another icon of office, I do not remember to add a backup/restore function for the setting icon on the desktop... is what bought me a brief period of mental health before they rearrange themselves after a few constantly unidentifable strike entered sometimes without "rhyme or reason", not unique to anything, preventing me from shrink down to a specific cause. I conducted several audits of malware with paid and free programs and there is no indication of anything invading my system, it works fine other wise. Help!

    Hello

    You can perform an upgrade in-place of Windows XP:
    How to perform an upgrade on the spot (reinstallation) of Windows XP

    http://support.Microsoft.com/kb/978788

    Run a repair installation will not damage files and applications that are currently installed on your computer.  However, I suggest you to back up all important data on the computer before you perform the upgrade on the spot.

    http://support.Microsoft.com/kb/312369

  • on registration of the desktop icons are not displayed

    Registration using Windows XP, the desktop icons do not appear.

    You see only your background image and the wallpaper?

    Miss all your desktop icons and you don't see the taskbar at the bottom of the screen or are simply missing icons and you can see the taskbar at the bottom?

    Check the simple things first.  Right-click on an open space on your desktop, choose Arrange icons by and make sure the option show desktop icons has a check mark next to it.  This will work if you don't miss you that the desktop icons, but still see the Start button and the taskbar.  If you are missing as the Start button and the taskbar, which isn't your problem.

    If only you can see your wallpaper background picture and don't see the desktop icons and no start button or taskbar, this means that the explorer.exe program does not run (and it must be running) or the explorer.exe program are usually afflicted.  A good way to think about at the moment, it is that the process explorer.exe "is" your desktop.

    If this is the case of malware in general prepares.

    What is your system brand and model?

    What is your version of XP and the Service Pack?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    Sometimes your anti malware program to quarantine (and indeed remove) your file explorer.exe (or other critical files on the XP system) if it finds that the file is infected.  The file may really be infected, but you can know for sure and then reconsider your anti malware options.

    First, you need to get your work desk in order to have room for manoeuvre, then you can solve your problem of potential malware.

    Of your background image, press Ctrl-Alt-Del and open Task Manager.

    Look at the processes tab and if the process explorer.exe is not running, start it as follows:

    In Task Manager, click file, new task, and in the Open box, enter:

    %windir%\explorer.exe

    Click OK and see if get you your office.  If you get an error, we need to know what it says.

    If explorer.exe is already running in the processes tab, it is likely that the object of the affection and will need to be replaced (which is not difficult).

    If you notice that the explorer.exe process is already running in the Task Manager, highlight the explorer.exe process, and then click end process to stop and start a new explorer.exe process as described above.

    If things look right now, your system is still not fixed, but it should be enough usable so now you can fix it.

    I would start with these scans:

    Perform scans for malware first, then these scans by operating clean, difficulty of problems:

    Download, install, update and do a full scan with these free malware detection programs:

    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

    They can be uninstalled later if you wish.

    Please report back with information about your system and your results if you need additional assistance.

  • the desktop icons and labels are not transparent

    the desktop icons and labels are not transparent

    Hello

    · Were there any changes made on the computer before the show?

    You can check out the post below which deals on the same concern: http://answers.microsoft.com/en-us/windows/forum/windows_xp-files/desktop-icon-issue/5c5826c3-8a73-4265-bbf5-5a840fccf9af

Maybe you are looking for

  • HP Envy bow 27: NXP ProximityBased SmartCard Reader XP NearField provider HP Envy proximity devices tilt

    Unfortunately, I couldn't find a category for two NXP devices: NXP ProximityBased smart card reader and the provider of proximity NearField NXP in the HP Envy bow. We hope a moderator can add the RFID of AIO category perhaps. HP provides a tag (Touch

  • do not install latest updates

    get this error microsoft.net framework 3.5 service pack 1 and the .net framework 3.5 family update for versions of .net 2.0 to 3.5 (kb951847) x 86

  • with color predetermined waveform graph

    Hello I have a table of waveforms. Now, I want to view a graph of a waveform in a way that only two or three colors to be specified of waveforms. for example if my table consist of 150 wave forms, 50 first waveforms must be displayed with the color r

  • HP Pavilion p78 - 1180t - driver of the need for the DVD-RAM GH80N

    My DVD drive on my HP desktop computer no longer works.  It appears as a unit under control panel, but fails to show up in Windows Explorer as a disk when a DVD is in it. The error message I receive is "configuration in the registry information is in

  • Problem with equalizer in WMP

    Using Windows7 operating system.  When play ripped CD in WMP and with the Equalizer on, the music fades in and out, especially of drums.  It's as if the system can't handle the dynamic range of the music. All drivers have been updated. Do not use any