• 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
PackageMaker and custom folder icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PackageMaker and custom folder icons


  • Subject: PackageMaker and custom folder icons
  • From: "Phil Barrett" <email@hidden>
  • Date: Tue, 12 Feb 2002 12:51:23 -0000

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

This all works and the directories which are fed to PackageMaker all have
correct custom icons.

But PackageMaker doesn't like resource forks, and on install I get Icon^M
files with empty resource forks.

So, does anyone know how to get a custom folder icon into a .pkg?

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: Charles Srstka <email@hidden>
    • Re: PackageMaker and custom folder icons
      • From: Markus Hitter <email@hidden>
  • Prev by Date: Re: NSTableColumn.identifier()
  • Next by Date: Re: how to inspect a running app?
  • Previous by thread: NSMatrix with drag & drop
  • Next by thread: Re: PackageMaker and custom folder icons
  • Index(es):
    • Date
    • Thread