Re: How to replace old version of product?
Re: How to replace old version of product?
- Subject: Re: How to replace old version of product?
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 24 Jun 2008 09:53:18 -0400
- Thread-topic: How to replace old version of product?
on 2008-06-23 4:56 PM, William J. Cheeseman at email@hidden wrote:
>>> I'm thinking of a postinstall script something like this:
>>>
>>> osascript -e "tell application \"Finder\" to update POSIX file
>>> \"<fullpath>\""
>>>
>>> Is there a way to do that without resorting to AppleScript? I
>>> suspect not.
>>
>> touch /full/path ?
>
> I had looked at that, but it seems to be limited to updating the file dates.
> I'm not sure I want to do that. But I'll experiment with it and see what
> happens.
It appears that 'touch' does not accomplish my goal.
Furthermore, the Finder 'update' command in AppleScript is apparently broken
in Leopard (10.5.3).
So I'm stuck. I can't find any way to update the Finder's listing of the
installed application's version, short of logging out and back in. In my
opinion, this makes for a terrible user experience. It isn't good for
AppleScripters, either, because the Finder continues to respond to
AppleScript commands (such as 'get version of <path>) as if the old file
were still installed.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
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