• 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: "Phil Barrett" <email@hidden>
  • Date: Tue, 12 Feb 2002 16:03:00 -0000

> Am Dienstag den, 12. Februar 2002, um 13:51, schrieb Phil Barrett:
> > I want to ship custom icons in a .pkg install package.
> >
> > From my pre-packaging Perl script, I do the following:
> > 1. manually create an empty Icon^M file
> > 2. copy the icon data into Icon^M/..namedfork/rsrc
> > 3. use SetFile to make Icon^M invisible
> > 4. use SetFile to set the custom icon bit on the folder
>
> Try to package your icon data in a plain file, then use the
> postinstallation script to move it into the resource fork.

Tried that, but PackageMaker/Installer also strips out the custom icon bit
on the folder, so it's no use unless I can ship SetFile (which I'm probably
not licensed to do).

Is there an AppleScript way to set folder icons?

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.

Phil
_______________________________________________
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: "Erik M. Buck" <email@hidden>
References: 
 >Re: PackageMaker and custom folder icons (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: PackageMaker and custom folder icons
  • Next by Date: 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