site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com -Josh On Feb 15, 2007, at 4:20 PM, Matt Ziebell wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com DockItemMaker DockItemMaker If the attachment doesn't make it through the MailMan list software I sent this to you directly as well. Attached is a script I took from GarageBand's installer. You make this your postflight (or if you borrow the way Apple does it then put it in your postflight_actions folder) and put PlistBuddy in your PKG's Resources folder. PlistBuddy can be found hanging out in /Library/Receipts within various installers. I like this script (even if I mangled it to be slightly ugly because of my poor Perl skills).. it will add something to the dock of all your user accounts on the machine plus to the Default User template.. at least the English default user. You could take this and make it do more maybe. Originally I think the Garage Band version of this didn't do the default user template. This should work for 10.3, 10.4, and I imagine future versions of OS X if the dock plist doesn't change. In light of the helpful feedback from Joshua Levistsky regarding "recommended way to install something into /Library/StartupItems" I welcome thoughts about a recommended script for adding items to the Dock? Especially with 10.3 and 10.4 support, as I've seen 10.3 and 10.4 behave differently for some tasks (such as license and readme presentation) and want to be sure to have full support for this task. Thank you, Matt _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/jlevitsk% 40joshie.com This email sent to jlevitsk@joshie.com