Automated installs of Mac OS X Lion
I’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.
Documentation:
http://installlionpkg.munki.googlecode.com/git/README.txt
Zip archive:
http://munki.googlecode.com/files/InstallLionPkg.zip
Clone the Git repo:
git clone https://code.google.com/p/munki.installlionpkg/
Enjoy! Feedback and discussion should be directed to the munki-dev list at
http://groups.google.com/group/munki-dev/
September 7, 2011 at 2:11 pm
You rock, Greg. Just tested this and it works incredibly well. Now I can deploy Lion through ARD or Absolute Manage. Thank you, sir!
September 29, 2011 at 3:43 am
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..
September 29, 2011 at 1:27 pm
Can we see the exact error, please?
September 7, 2011 at 5:02 pm
[...] Greg Neagle’s InstallLionPkg, which allows you to create an installer package that does an unattended install of Mac OS X [...]
September 29, 2011 at 10:47 pm
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
October 25, 2011 at 1:37 pm
any way to add in a command to delete the pkg after the upgrade goes through?
October 25, 2011 at 1:55 pm
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.
November 7, 2011 at 12:34 pm
Has anyone created a pkg or script that will disable/remove the send registration after the lion upgrade?
February 8, 2012 at 6:38 am
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?
February 8, 2012 at 8:25 am
Nope – I only have access to the App Store downloads.
What does:
find /Volumes/ -name \*dmg
turn up?
February 8, 2012 at 8:27 am
the content on the thumbdrive is the InstallESD
February 8, 2012 at 8:37 am
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.
February 8, 2012 at 8:38 am
Thats what I had to do.
February 13, 2012 at 10:33 am
Can someone point me in the direction of how to kill the setup with an additional package?
February 13, 2012 at 10:34 am
http://dl.dropbox.com/u/8119814/DisableSetupAssistant.pkg.zip
February 13, 2012 at 10:37 am
Thanks Greg. I assume that this installer is just creating the file /var/db/.AppleSetupDone correct?
February 13, 2012 at 10:45 am
You really should inspect the package and see for yourself what it is doing. For all you know, it’s installing a key logger and mailing the contents of all your private documents to Russia.
February 13, 2012 at 10:47 am
Good point and duly noted.
March 14, 2012 at 10:29 pm
Hi Greg
Can you make the Lion 10.7.3 InstallESD.dmg as the OS image for Casper using your tool?
March 15, 2012 at 8:22 pm
I don’t use Casper, so I have no idea.
June 4, 2012 at 8:22 am
[...] 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 [...]
July 25, 2012 at 5:12 am
[...] Last fall, I released a set of tools I called “InstallLion.pkg”. The introductory post is here. [...]