RE: recommended way to install something into /Library/StartupItems?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcdRQQsCDhy59t9GRt2FxYhyQSf8zQAAOXDw Thread-topic: recommended way to install something into /Library/StartupItems? Thanks to Stephane, Aaron & Joshua for the responses. I'm just going to create the structure when building my package. Fortunately, I need not be worrying about 10.2 for this project. Thank you kindly and have a great day, Ben Lam Software Developer, Build/Install SMART Technologies Inc. email/MSN: blam@smarttech.com | tel: 403.802.3328 Men are respectable only as they respect. -Ralph Waldo Emerson
-----Original Message----- From: Stéphane Sudre [mailto:ssudre2@wanadoo.fr] Sent: Thursday, February 15, 2007 1:31 PM To: Benjamin Lam Cc: installer-dev@lists.apple.com Subject: Re: recommended way to install something into /Library/StartupItems?
As others pointed, it's easy to do it and it works.
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.
My $0.02
On jeudi, février 15, 2007, at 06:31 PM, Benjamin Lam wrote:
Hi,
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?
TIA.
Thank you kindly and have a great day,
_______________________________________________ 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
participants (1)
-
Benjamin Lam