Re: How to make update package with Package Maker?
Re: How to make update package with Package Maker?
- Subject: Re: How to make update package with Package Maker?
- From: Greg Neagle <email@hidden>
- Date: Mon, 18 May 2009 11:39:23 -0700
Or alternately, your updater package must have a different name and
identifier and contain pre-install logic that makes sure the earlier
version of the software is installed before it can run.
I prefer Karl's recommendation, however.
-Greg
On May 18, 2009, at 10:36 AM, Karl Kuehn wrote:
On May 18, 2009, at 1:00 AM, Chris Gardner wrote:
I have a pragram of alpha version and want to update this version
to add new files. After making a update package with Package Maker
tool, and setuping the update package, the same name of original
file will be instead, but the others will disappear. Why?
Apple's installer system is being helpful, it is just not working
the way you think. When it installs a package it writes out a
receipt (or into the reciepts.db) the list of files that it
installed. When you then install something with the same name/
identifier it compares the list of files to what is already
installed, and figures that if a file that was in the old version is
not in the new version it should remove it (cleaning up after itself).
The problem in this case is that you are trying to out-think the
installer, and so it is removing files that you still want in the
later version.
How can I update the old specified files ,meanwhile do not delete
the others with update package made by Package Maker.
Don't try and create packages that are just updaters. Create a new
full installer of the latest version (and bump the version number),
and Apple's installer will take care of "updating" for you.
--
Karl Kuehn
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
_______________________________________________
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