Re: Deleting old application files
Re: Deleting old application files
- Subject: Re: Deleting old application files
- From: Greg Neagle <email@hidden>
- Date: Sat, 24 Nov 2012 09:01:57 -0800
This is automatic behavior with Apple's Installer.
As long as you use the same PackageIdentifier for all versions of your package, any files that exist in a previous version of your package that do not exist in the current version of the package are removed.
Again, this requires that you use a consistent PackageIdentifier, and also that the receipt(s) for the prior install(s) are present (without this, Installer has no way to determine which files are now obsolete).
If this behavior is not sufficient for your needs, you'll need to write a preinstall script that removes obsolete files.
-Greg
On Nov 24, 2012, at 5:06 AM, Beatrix Willius <email@hidden> wrote:
> Hi,
>
> how do I force the Iceberg installer to delete the old application files before installing the new app? My app has a lot of files in the Frameworks folder. When using the installer to install a new version over an old one not all old files are deleted. As a result the files don't fit together and there is a nice Runtime error when starting the app.
>
>
> Mit freundlichen Grüßen/Regards
>
> Trixi Willius
>
> http://www.mothsoftware.com
> Mail Archiver X: The email archiving solution for professionals
>
>
> _______________________________________________
> 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