GET INFO not updated was Re: Launch Services cache not updated?
GET INFO not updated was Re: Launch Services cache not updated?
- Subject: GET INFO not updated was Re: Launch Services cache not updated?
- From: Bill Coderre <email@hidden>
- Date: Thu, 21 Aug 2008 19:07:16 -0700
On Aug 21, 2008, at 4:11 PM, Philip Aker wrote:
On Aug 20, 2008, at 10:53 AM, Fritz Anderson wrote:
I start with an application installed by Installer VISE.
I run an Installer.app package that replaces the application.
The replacement is displayed in the Finder with the original's
icon, and Get Info shows the original's version number.
I examined the installed Info.plist, and verified that the correct,
updated information is there. The application works, demonstrates
the updated features, and displays the correct version information
in the about box. If I copy the updated application elsewhere, the
icon and the displayed version are correct.
I assume there is some Launch Services or Finder cache that doesn't
get kicked by my installation. What should I be doing about this?
Mac OS X 10.4.11
There's an AppleEvent/AppleScript call to the Finder which you can
try (look for 'update' in the Finder's scripting dictionary). Also
maybe a call to LSRegisterURL() might kick the Finder into
displaying the new info. I can say the 'update' call to the Finder
works for files, but can't remember if I've every tried it for an
application.
(Get Info windows have nothing to do with Launch Services, by the way.)
Get info windows not showing the right things after install has been
an issue, more or less bad, since 10.0. I haven't had it "brought to
my attention" recently, so maybe 10.5 has the issue less frequently.
When people complain, what I do is to /usr/bin/touch the app, then
touch the enclosing folder. This will work, sometimes.
If it doesn't work, I don't know what will.
It almost certainly WILL NOT WORK if you have the Get Info window open
during the install.
It often won't work if you get info, close the get info, install, then
Get Info again.
It sometimes won't work if you have an old version of Mac OS X (say,
10.3).
Sometimes, nothing seems to work.
Note that in 10.5, at least, Installer.app is supposed to do the touch
for you. Touching a few more times doesn't take much time, though, so
go nuts.
Maybe this needs to go into the FAQ.
_______________________________________________
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