On install failure during PostInstall, the agent files remain on file system
Hi, I was wondering if Packages have some attribute to auto-cleanup the payload part (copying the package contents to hard driver), or revert the whole operation, in case the installation fails during PostInstall script.
thanks !
There is no such thing in Packages. If it exists, it would be in the Installation/PackageKit framework of macOS.
Thanks for the guidance. do you know where can I find any reference for the packagekit... couldn't find any on the web
PackageKit is one of the frameworks used by the installation mechanism in macOS, it includes the installd and shove tools which are responsible for extracting the files from the payload of the installation packages and "moving" them to their final locations.