I forgot to mention that I would like to do this from the command-line in order to automate the process. I found a solution: someone suggested I use icnsConverter and that seems to generate an Icon\r. Have not tested it yet though. Michael
On Thu, Jun 25, 2009 at 3:33 AM, Jean-Daniel Dupas <devli...@shadowlab.org>wrote: > > Le 25 juin 09 à 00:45, Michael Hanna a écrit : > > > Hi all, my goal is to create custom installer icons for a couple of >> Installer .pkg packages. I'm following the instructions at: >> >> http://www.khiltd.com/Downloads/prettypackages.html >> >> At the section "Into the Fray" he suggests to use the Finder to >> generate the Icon\r file for me by doing a Get Info on the source >> .icns file, copying the proxy icon and then pasting it onto the Get >> Info proxy on an empty folder(for instance). This does seem like a >> simple approach. >> >> The problem here is that the proxy icon for the .icns file is a >> generic document icon. I continued on with the instructions hoping >> that somehow the Finder detected the actual icons inside the .icns >> file. However, after following the rest of the instructions at the >> command line, where you transfer the icon.rsrc resources into a .pkg >> file, my hopes were dashed. The generic file icon appeared, rather >> than the contents of the .icns file. Am I missing something simple >> here? Is there another way(via the Get Info proxy method) to get the >> contents of the .icns file? If not, what is another method to either: >> >> convert the .icns to an Icon\r >> convert the .icns to a resource >> > > > What about -[NSWorkspace setIcon:File:options:] > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com