Re: Keeping a Folder's icon with packagemaker/installer
Re: Keeping a Folder's icon with packagemaker/installer
- Subject: Re: Keeping a Folder's icon with packagemaker/installer
- From: Philip Aker <email@hidden>
- Date: Sun, 7 Dec 2008 13:19:44 -0800
On 2008-12-04, at 21:29:15, Russ wrote:
Is there a way to get the installed folder's icon set up right,
either by installing the Icon? file correctly or some other (simple)
method? Adobe CS3 and Snapz Pro X have got it working somehow. I'd
just as soon NOT have to create some (Carbon AE) program to go do
this programmatically as a post-installation hack. Thanks.
It might be possible to specify a pre-existing "Icon\r" file to be
placed in your folder. Then the only code you'd have to take care of
is setting the custom icon bit on the folder. It's only a few lines
using FSSetCatalogInfo() and FSSetCatalogInfo(). Apple has some
(really old) sample code at: <http://developer.apple.com/samplecode/SetCustomIcon/
>
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden