• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Packages - deleting older files on newer installation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packages - deleting older files on newer installation


  • Subject: Re: Packages - deleting older files on newer installation
  • From: Stephen Kay <email@hidden>
  • Date: Thu, 30 Mar 2017 19:22:41 -0700
  • Thread-topic: Packages - deleting older files on newer installation

On 3/30/17 1:23 PM, "Karl Kuehn" <email@hidden> 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Packages - deleting older files on newer installation (From: Stephen Kay <email@hidden>)
 >Re: Packages - deleting older files on newer installation (From: Karl Kuehn <email@hidden>)

  • Prev by Date: Re: Packages - deleting older files on newer installation
  • Next by Date: Re: Packages - deleting older files on newer installation
  • Previous by thread: Re: Packages - deleting older files on newer installation
  • Next by thread: Re: Packages - deleting older files on newer installation
  • Index(es):
    • Date
    • Thread