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