Re: Packages - deleting older files on newer installation
On 3/30/17 1:23 PM, "Karl Kuehn" <kuehn.karl@gmail.com> wrote:
If the older version was installed using a .pkg, then `installer` (even when called by `Installer.app`) should be cleaning away any files that were explicitly in the older version[1], but not explicitly in the newer version. This does not take any files created in any installer scripts into account, nor anything like data, cache, or preferences files created in the use of an app. But for most cases this should just be taken care of for you.
Good to know, but...
If you are just switching to a /pkg from something else (e.g. Mindvision Installer) then you are on your own.
Yes, this.
[1] This seems to be done using the package receipts. To see what a system thinks the files are for a given installed package use `pkgutil --pkgs YOUR_PACKAGE_ID_HERE`.
After trying this, I discovered it's actually 'pkgutil --files YOUR_PACKAGE_ID_HERE' - but thanks! - Stephen _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephen Kay