• 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
Re: Unable to apply Custom Icon to Flat package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Unable to apply Custom Icon to Flat package (From: Khushneet Inder Singh <email@hidden>)

  • Prev by Date: Re: Installer launched by launchd 10.6/10.7 difference.
  • Next by Date: system.run in script leads to "Path for embedded script ... not available"
  • Previous by thread: Unable to apply Custom Icon to Flat package
  • Next by thread: system.run in script leads to "Path for embedded script ... not available"
  • Index(es):
    • Date
    • Thread