Re: Problem during installing
Re: Problem during installing
- Subject: Re: Problem during installing
- From: Christopher Ryan <email@hidden>
- Date: Thu, 12 Jan 2006 09:10:08 -0800
On Jan 12, 2006, at 1:57 AM, Mo Yihua wrote:
Hi all,
When we test our install package on 10.4,there's a problem occoured.
I have two install packages made by PackageMake 1.0,one of two is a
update package in which the application has higher
version info.
I install the newer package A.pkg firstly,and then delete it from
my computer.Then install the another package B.pkg.
During the installation of the second package,a message is given by
Installer which is "You cannot continue.There is
nothing to install.".Then exit the installation.
This problem doesn't occour on 10.2 or 10.3.
There is a known bug where it tells you there is nothing to install,
rather then not allowing you to install in the first place.
In package A.pkg's info.plist,key of CFBundleShortVersionString's
value is highter than that in package B.pkg's
info.plist.
Delelte the my application only, don't delete /Receipt/A.pkg.After
do this ,if I modify the value of
CFBundleShortVersionString in "/Receipt/A.pkg/Contents/
info.plist",make the value lower than B.pkg's,the installation
will work successfully.And execute it as an upgrade.
Does Installer determine whether to install or upgrade by
CFBundleShortVersionString's value in file "info.plist"?
Is it a new feature of Installer on 10.4?
This is not a new feature in 10.4. What is new is that we use the
CFBundleIdentifier as a unique identifier (or the package name, if
you did not use identifiers). So if A.pkg and B.pkg has the same
CFBundleIdentifier (they shouldn't, considering they are different
things all together, right?). As for CFBundleShortVersionString, it
was used in previous system versions as well.
Chris
Thanks!
_______________________________________________
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
_______________________________________________
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