Re: Upgrade-option of BundleOverwriteAction not working?
Re: Upgrade-option of BundleOverwriteAction not working?
- Subject: Re: Upgrade-option of BundleOverwriteAction not working?
- From: Vikram Singh <email@hidden>
- Date: Sat, 16 Jun 2012 06:52:11 +0530
Thanks Stephane for correcting me. All this time, I thought it just copies the payload.
Thanks,
Vikram
On Jun 16, 2012 1:12 AM, "Stephane Sudre" <
email@hidden> wrote:
On Fri, Jun 15, 2012 at 11:55 AM, Vikram Singh <email@hidden> wrote:
> I don't think packages in Mac do what you are trying to achieve. They just
> copy the payload in the system. Even in case of upgrade, they will only
> replace the files if they are already present in the system. It will not
> delete the extra files installed by the older package.
>
> You have to take care of the extra files yourself probably by using the
> scripts in your package or in any other better way you can think of.
Files installed by a previous version of a package (as part of the
payload) are removed if they are not within the payload of the newer
version.
This is the reason why when you create an updater that does not
include all the original files, you have to use a different
identifier for the package.
_______________________________________________
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