ramsey215 wrote:
Hi HWTech. I am having the same issue and it won't let me install anything to the Applications folder. It just says it is "not allowed" on my new laptop. Really I am trying to put any OS (likely Yosemite or El Capitan) on an old iMac that was completely wiped and that seems like the only way to do it as downloading directly doesn't seem to be working. Any help is appreciated!
Make sure to first use the Finder to mount the downloaded .dmg file for El Capitan or Yosemite.
I'm providing a template of the extraction command from memory since I don't have access to a Mac to confirm exact path names.
The easiest way to ensure the correct path is used is is by typing the first part of the command and leaving a space. Then dragging & dropping the "InstallMacOSX.pkg" file (or whatever it is called) onto the Terminal window so the actual path is filled in automatically.
Begin by typing in the Terminal:
sudo pkgutil --expand
Now use the Finder to drag & drop the "InstallMacOSX.pkg" file (or whatever it is called) from the mounted .dmg volume onto the Terminal window. Then continue typing this to complete the command:
/Applications/installer
The final command will look something like this, but since I don't know the name of the source volume I cannot give you the exact path to use:
sudo pkgutil --expand /Volumes/macOS\ Installer/InstallMacOSX.pkg /Applications/installer
Press the "Return" key at the end of the line/command to execute it.
You should now have a folder called "installer" located in your Applications folder. Within this "installer" folder you should see the actual Yosemite or El Capitan installer app. Just move this installer app into the main Applications folder. You can delete the now empty "installer" folder and eject the mounted .dmg volume.
Now you should be able to create a bootable USB installer by following the instructions in my earlier post.