Re: PackageMaker and custom folder icons
Re: PackageMaker and custom folder icons
- Subject: Re: PackageMaker and custom folder icons
- From: "Erik M. Buck" <email@hidden>
- Date: Tue, 12 Feb 2002 10:43:40 -0600
>
I know Apple's response is likely to be "don't use Installer to distribute
>
applications; use disk images and get the user to drag and drop", but it's
>
hard to install from a disk image when I need to install items into
>
/Library/Frameworks, /Library/StartupItems, /Library/Preferences and
>
/usr/bin.
>
Use a disk image. The first time a user starts the application, copy or
move the relevant items to /Library/Frameworks, /Library/StartupItems,
/Library/Preferences and /usr/bin. The user will need admin privileges to
do that anyway, and your application can take care of authenticating the
user and or insisting that the user is an administrator. Finally, don't copy
things to /Library/StartupItems or /usr/bin without a really good reason,
and ask the user for confirmation before doing it. There are many UNIX
sites that will not or can not install anything in /usr/bin because it is
read-only and reserved for system components. That is why /usr/local/bin
and other directories exist. Also consider if ~/Library/Frameworks, and
~/Library/Preferences are better choices. This approach has the added
advantage that if the installation is damaged (say because of an OS
re-install) then the next time the user runs the application, it can copy
its files again.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.