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 00:25:46 +0530
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.
Thanks,
Vikram
On Jun 15, 2012 7:57 PM, "Alexander Zigelski" <
email@hidden> wrote:
There's three different scenarious of the use of BundleOverwriteAction in the component.plist-file.
Leave it out, set it to upgrade and set it to update.
The latter two cases are explained in the man-page. I tried them with a single flat-package but they do the same no matter which case I try. Files appearing in both packages are replaced while other files which were only in the first package but not the second aren't deleted on the disc. This was even the case when using the upgrade value in the component.plist.
Here's what I did to try that. I made two flat-packages. One with a lot of different files and folders (version 1.3.0) and another one with just the .app-file (version 1.3.1). I installed version 1.3.0, then 1.3.1. What I wanted to achieve was having everything deleted but the updated .app-file after installing version 1.3.1. Still all other data was still there as mentioned.
Is there a bug or can someone please enlighten me?
--
Ali
_______________________________________________
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