I know about <command> <l>
, pkgutil --files
, and lsbom
. I know also that installer packages are really a XAR archive.
What I do not know yet, is that whether running a .pkg
installer packages guarantees that all the files produced as a result of running it will be tracked?
For instance, when a .pkg
installer package ran some arbitrary scripts, will the files be tracked by macOS? I tried searching and there does not seems to be any official documentation on this.
Some unofficial guides:
https://matthew-brett.github.io/docosx/flat_packages.html
http://s.sudre.free.fr/Stuff/Ivanhoe/FLAT.html
Although not explicitly mentioned, these guides seems to be indicating that the files won't be tracked, is this correct?
Also, are there any official answer on this?