Re: recommended way to install something into /Library/StartupItems?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com As others pointed, it's easy to do it and it works. My $0.02 On jeudi, février 15, 2007, at 06:31 PM, Benjamin Lam wrote: Hi, TIA. _______________________________________________ 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... The only issue I know with Packages and /Library/StartupItems was on 10.2.x (as IIRC 10.2 is when the owner and group moved from root admin to root wheel without any clear official warning). The issue was that it was not possible to set the owner and group to root:wheel using the package. There is probably a bug in Installer.app regarding this. The solution was to set the permissions in the postflight script. So if you need to install on Mac OS X 10.1 or 10.2, test that. If you don't, forget about this issue. What is the recommended way to install something into /Library/StartupItems? I need to put some items in there, can I just create the Library/StartupItems structure with the items when I create the package or should I copy the items in during postflight? If I just create the package with the Library/StartupItems structure and if other software puts items in there, then my package runs, it won’t ‘reset’ the Library/StartupItems folder will it, deleting the other items (to match the given structure in my package) will it? Thank you kindly and have a great day, This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre