I found a way to automate the install The Right Wayâ„¢, including installing package receipts and such (necessary for permissions repair, I'd expect):
mkdir "/private/tmp/iLife '11"
cp "/Volumes/iLife '11 Install DVD/Installer/Packages"/* "/private/tmp/iLife '11"
sudo chown -R root:wheel "/private/tmp/iLife '11"
sudo chmod -R -N "/private/tmp/iLife '11"
sudo chmod 700 "/private/tmp/iLife '11"
sudo chmod 600 "/private/tmp/iLife '11"/*
open /private/tmp
Now open Composer, make an empty package, and drag the iLife '11 folder into it. When it's done copying, add a postflight script:
#!/bin/sh
## postflight
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
/usr/sbin/installer -package "${2}/private/tmp/iLife '11/iLife.pkg" -target "${2}" && /bin/rm -rf "${2}/private/tmp/iLife '11"
Save as PKG, and import it into Casper. It should work on any system that iLife '11 can install on. I've tested it on the new MacBook Pros with 10.6.7. A reboot is not required when you use this method. In theory, it might even work at imaging time, though I haven't tested it.
