PackageMaker and custom folder icons
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.