Re: Unable to apply Custom Icon to Flat package
Re: Unable to apply Custom Icon to Flat package
- Subject: Re: Unable to apply Custom Icon to Flat package
- From: Stephane Sudre <email@hidden>
- Date: Tue, 10 Jul 2012 09:21:12 +0200
In addition to manual copy and paste:
Shell script with sips, Rez, DeRez. This doesn't set the 256x256 and
512x512 representation AFAIK. And I'm not sure this is the best way to
do it.
From http://forums.macrumors.com/showthread.php?t=1298391 for instance.
--------8<---------8<---------8<---------8<---------8<---------8<---------
/usr/bin/sips -i "myicon.icns"
/usr/bin/DeRez -only icns "myicon.icns" > /tmp/tmp.rsrc
/usr/bin/Rez -append /tmp/tmp.rsrc -o "myPackage.pkg"
/usr/bin/SetFile -a C "myPackage.pkg"
/bin/rm -f /tmp/tmp.rsrc
On Tue, Jul 10, 2012 at 9:07 AM, Khushneet Inder Singh <email@hidden> wrote:
> Hi,
>
> Can someone tell me the how to apply custom icon to a flat package. So
> far I successfully managed to apply the custom icon to the expanded flat
> package. But as soon as I flatten back the expanded package, then icon
> converted back to default icon(opened brown package/box). Is there any
> other way to apply Custom Icon to flat package.
>
> Thanks and regards,
_______________________________________________
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