8

I had to make a bootable macOS High siera install, everyhing went well and it worked. I'm trying to remove the app that I used to install it and trash won't let me. Everytime I try I get an

The operation can’t be completed because the item 
“Install macOS High Sierra.app” is in use.

error. I tried to circumvent this by option+click and selecting "Delete immediately" but that just gives me an

“InstallESD.dmg” can’t be modified or deleted because it’s required by macOS.

error. Any help for getting this thing off my computer will be greatly appreciated.

7

I was experiencing this problem after downloading High Sierra to fix a friend's Mac. I found Rick's solution worked for me, but I've added a few more steps.

  1. Click the  symbol in the Menu bar.

  2. Click Restart….

  3. Hold down Command + R to boot into Recovery Mode.

  4. Click Utilities.

  5. Select Terminal.

  6. Type csrutil disable. This will disable SIP.

  7. Press Return or Enter on your keyboard.

  8. Click the  symbol in the Menu bar.

  9. Click Restart….

Extra Steps

  1. Log in / boot up the Mac.

  2. Empty Trash.

I also found that somehow Previous System folder appeared under the Mac HD. So I also trashed that (which wouldn't trash previously).

I then rebooted the Mac a few times to check that everything was working fine. Then rebooted into recovery mode.

  1. Hold down Command + R to reboot into Recovery Mode.

  2. Click Utilities.

  3. Select Terminal.

  4. Type csrutil enable. This will enable SIP.

  5. Press Return or Enter on your keyboard.

  6. Click the  symbol in the Menu bar.

  7. Click Restart….

  • You don't need to reboot with SIP disabled, see other answer. – MarcH Mar 27 at 21:59
3

Fastest way to fix this is the following.

  1. Reboot
  2. Hold Cmd + R
  3. Choose language
  4. If you are using an encrypted disk, select "disk utility" then select the disk where the unremovable files are located, and mount it. Once this has been mounted, quit disk utility.
  5. In the Utilities menu select Terminal
  6. Type cd .. as many times that are needed until you can see /Volumes
  7. Type ls to see if you are where /Volumes is present
  8. Type cd Volumes
  9. Type ls to see name of harddrive
  10. Type cd *nameofharddrive*/Applications
  11. Type rm -r Install (press tab to write out the whole filename)
  12. Press enter to delete
  13. Reboot
  • Yes it's much faster however it's missing one step: unlock and mount the encrypted hard drive with "Disk Utility" first before opening a Terminal. Cause you're not crazy enough not to encrypt your hard drive, right? :-) – MarcH Mar 27 at 21:58
2

What happened was the installer was getting caught by Mojave's system update panel in the system preferences.

Just had to disable SIP and it deleted okay with no issues to the computer after.

  • What is a SIP? I really don't know. Can you make this a bit easier to apply (for others, too!) as an answer? – esaruoho Nov 19 '18 at 0:02
1

I ran into this recently on a machine running macOS Mojave (10.14.x), where I was running low on disk space, and still had this installer.

The built-in Storage Management application should allow you to find the item in the Applications panel and you can delete it from there. I personally found right-clicking on the item and selecting Delete to be more responsive than selecting it and using the button.

Disabling Systems Integrity Protection (SIP) was not required, nor was a reboot.

0

I have found another solution in case rebooting in Recovery mode is not an option for you.

  1. Move the High Sierra installer back from Trashes to Applications

  2. Re-download the High Sierra installer using AppStore from https://support.apple.com/kb/HT208969 Overwriting the „broken“ installer with a fresh one fixes the permission issue.

  3. Drop the High Sierra installer from Application to Trash. Empty trash will work now, deleting the installer correctly.

You must log in to answer this question.

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