Automated installs of Mac OS X Lion

OS X Lion imageI’ve made some tools for creating an automated install of Mac OS X Lion available for testing and feedback. These tools do not require Munki — you should be able to use them with any software distribution mechanism that can install Apple packages.


Zip archive:

Clone the Git repo:

git clone

Enjoy! Feedback and discussion should be directed to the munki-dev list at

Explore posts in the same categories: Deployment, OS X

23 Comments on “Automated installs of Mac OS X Lion”

  1. Ryan Nix Says:

    You rock, Greg. Just tested this and it works incredibly well. Now I can deploy Lion through ARD or Absolute Manage. Thank you, sir!

    • Edwin Says:

      Ryan, perhaps you can help me, as I want to deploy it as well through ARD. I did the steps as in the text do, no adjustments, just copied the dmg into the lion pkg with the command that was given. I can copy the installlionpkg to the users desktop, and start it gfrom there, that works great, but the install option from ARD gives me te error: can’t be installed.. Any tips or trucs? the machine i want it to deploy to is a 10.6.8 imac with the right specs..

  2. […] Greg Neagle’s InstallLionPkg, which allows you to create an installer package that does an unattended install of Mac OS X […]

  3. Edwin Says:

    Hi, there were several errors, but the solution was a simple one..
    I got the InstallESD.dmg from a collegae, but with the name InstallLionEsd.dmg. Renamed the file back, and it all works like a charm! Edwin

  4. Dennis Says:

    any way to add in a command to delete the pkg after the upgrade goes through?

    • GregN Says:

      That should be handled by whatever method you are using to deploy this. For example, munki will delete a diskimage containing this package after it’s been successfully installed, but before the reboot.

  5. Dennis Says:

    Has anyone created a pkg or script that will disable/remove the send registration after the lion upgrade?

  6. Dan Says:

    Hi, This looks really useful, but I’m stuck on the first step. I’m working from an Apple Lion thumb drive. There doesn’t seem to be a SharedSupport folder in Contents. Any idea where I can find the InstallESD?

  7. GregN Says:

    Dennis – that makes sense. So it would be difficult to use the thumb drive as a starting point for an InstallLion.pkg. Spend $30 and get the App Store download.

  8. Talha Basit Says:

    Can someone point me in the direction of how to kill the setup with an additional package?

  9. Talha Basit Says:

    Thanks Greg. I assume that this installer is just creating the file /var/db/.AppleSetupDone correct?

  10. slk00 Says:

    Hi Greg
    Can you make the Lion 10.7.3 InstallESD.dmg as the OS image for Casper using your tool?

  11. […] you put those two items together, you have the necessary support to install InstallLion.pkg on an erased or otherwise empty hard drive from a DeployStudio boot set running Mac OS X […]

  12. […] Last fall, I released a set of tools I called “InstallLion.pkg”. The introductory post is here. […]

  13. […] used. Greg reverse-engineered 10.7′s installation process when he built createOSXInstallPkg (originally known as InstallLionPkg). That installation method does not include the Apple Mavericks installer’s ability to store […]

Comments are closed.


Get every new post delivered to your Inbox.

Join 191 other followers

%d bloggers like this: