GET INFO not updated was Re: Launch Services cache not updated?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com I start with an application installed by Installer VISE. I run an Installer.app package that replaces the application. (Get Info windows have nothing to do with Launch Services, by the way.) If it doesn't work, I don't know what will. Sometimes, nothing seems to work. Maybe this needs to go into the FAQ. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... On Aug 21, 2008, at 4:11 PM, Philip Aker wrote: On Aug 20, 2008, at 10:53 AM, Fritz Anderson wrote: 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 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. 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). 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Coderre