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 Coderre <email@hidden>
- Date: Tue, 24 Jun 2008 13:10:03 -0700
On Jun 24, 2008, at 12:19 PM, Bill Cheeseman wrote:
on 2008-06-24 9:53 AM, William J. Cheeseman at email@hidden
wrote:
It appears that 'touch' does not accomplish my goal.
Actually,
touch -c "$2"
does work, but only the first time I run it after shutting down the
computer
and restarting.
If I then set up and run my installer AGAIN (that is, trash the
newly-installed app, reinstall the old version, then re-run my
installer),
it does NOT work. Or, rather, it works only half way: it updates the
Date
Modified in the Finder window the second time, but it does not
update the
Version column or the version information that appears in the Finder
Get
Info window as it did the first time.
Weird. I wonder if this has something to do with temporary caches
remembering that the new version was installed once already during
this
session. If so, then maybe this is a reasonable solution for the
typical
installation scenario, where it gets installed only once.
It might also be that touch works if the Get Info window is not
sitting around open, but fails if it is.
That sounds likely to me, but I never got ambitious enough to test it.
_______________________________________________
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