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: Mon, 23 Jun 2008 22:19:53 -0700
On Jun 23, 2008, at 10:04 AM, Bill Cheeseman wrote:
on 2008-06-23 12:38 PM, William J. Cheeseman at email@hidden
wrote:
on 2008-06-23 8:45 AM, William J. Cheeseman at email@hidden
wrote:
I have everything working nicely -- except that my installer won't
replace
an older version of my product if it finds one installed.
I assume I have to configure the Patch button in each component's
Configuration pane.
Or do I simply have to write a preinstall script and remove older
versions
of components myself?
CORRECTION. I was fooled by the failure of the Finder's Get Info
version and
copyright notice to update. When I actually launched my newly-
installed
application, it turned out to be the new version, having successfully
replaced the old version. But I had to log out and back in to get
the Finder
to display the correct version and copyright info.
I've seen this behavior in lots of other product installers. It is
definitely not a good user experience, yet it seems to be growing
increasingly common.
Why can't PackageMaker/Installer handle this? It's easy enough to
write code
to force Finder to update.
So, unless and until this issue is fixed, do I have to write a
postinstall
script to force the Finder to update? Can anybody tell me off the
top of
your head how to do this in a shell script?
I believe, although I have no proof, that in certain circumstances
NOTHING can make the Finder update its GetInfo stuff.
Most of my Apple product groups don't care that much.
For them that do, I do
touch /Applications/MyGreatApp.app
touch /Applications
It looks like the 10.5 Installer.app also does this now. At least,
that's what the log says. (Thank goodness touch is really really fast.
Sometimes I end up touching /Application a whole bunch of times.)
_______________________________________________
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