• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PackageMaker and custom folder icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: PackageMaker and custom folder icons
      • From: Stéphane Sudre <email@hidden>
References: 
 >RE: PackageMaker and custom folder icons (From: "Phil Barrett" <email@hidden>)

  • Prev by Date: How transparent window be implemented in MacOSX
  • Next by Date: Re: How transparent window be implemented in MacOSX
  • Previous by thread: RE: PackageMaker and custom folder icons
  • Next by thread: Re: PackageMaker and custom folder icons
  • Index(es):
    • Date
    • Thread