Re: icons not showing up?
Re: icons not showing up?
- Subject: Re: icons not showing up?
- From: Howard Moon <email@hidden>
- Date: Thu, 13 Aug 2009 10:18:25 -0700
On Aug 12, 2009, at 9:01 AM, Howard Moon wrote:
I've finally got my PackageMaker-built installer working, but
there's one issue remaining: the executables (an app and a plug-
in) are not showing their icons. When doing a VISE-X install,
they show up, but not after doing a package install. Anyone know
how to tell why not, or how to force Finder to show them? Looking
in Terminal, I can see a file whose name is listed as "Icon?" in
both my source files and in the final install, but *something*
must be different between the two, since the source files show
their icon (as does the VISE-X installed version), but the package-
installed versions don't. Any thoughts?
Thanks for all the help so far!
Is the root item of your package payload the application itself and
the default target location /Applications? And is the application's
icon not set through a bundle but through a Resource Fork?
If the answer is yes to both, then it's a known bug in
PackageMaker, splitforks and Installer.app (pick one of the three
depending on the OS version).
A workaround is to use / as the default location and have the
Applications/MyApp path be part of your payload.
I don't see any "default location", but there is a Destination field
for the Choice. When I set that to empty or to /, and set the
Destination field of each of the Packages (inside the Choice) to the
folder path (/Applications/mycompany/mydir/), then I get warnings
for all my packages that says:
User ID 501 does not match 0 of root volume for "/Applications/
mycompany/mydir/myfile". Make sure to have disk permissions repaired
with Disk Utility.
I'm not even going to *try* running the installer with warnings like
that! :-)
Well, I did try running the installer, even with those warnings, but
no luck. Still no custom icons visible. If I manually copy the file
from my 10.5 development partition to my 10.6 test partition, the icon
shows up perfectly. But not when it's installed via the package.
Another oddity... whenever I go to delete the installed files, I get
asked for my password. The permissions look the same to me, so what
the heck? The exact same files installed via my VISE-X installer (or
simply copied over) do not require a password to delete. The "mode"
on the executable files (bundles) that I install all say "drwxrwxr-
x". My 10.6 OS was installed while importing my settings from my 10.5
OS, so I should have the same permissions, and looking at the files in
Terminal, using "ls -a -l", they look exactly the same, with "Howard"
as the owner and "admin" as the group. So what gives?
Thanks,
-Howard
_______________________________________________
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