mikehalloran wrote:Shared resources are always overwritten by the most recent installation.
This kind of thing really bothers me. I have never understood why an app needs to install a bunch of crap into the subfolders of /Library/.
Even when Apple added sandboxing and containers to macOS, a sandboxed app still gets to put stuff wherever it wants in /Library/. As it stands, containerization in macOS only applies to the user-level ~/Library/.
Apple's current sandboxing policy requires sandboxed apps (like anything from the Mac App Store) to store all its user-specific stuff inside a container in subdirectories of ~/Library/Containers/com.appDeveloperName.appName/. That way, an app can't surreptitiously access preference files and caches from other apps, like your browser, email app, etc. This is obviously good for privacy and security.
However, wouldn't it be even better if everything non-user-specific for a given app was contained within the .app itself? I can understand why hardware drivers need to be in a specific folder, but what is the point in having all these folders in /Library/Application Support/?
I don't know what the point is, but I can tell you one of the several disadvantages of it, which is that it can make it very problematic to have several different versions of an application installed at the same time.
Apple's own developers must have known about that disadvantage, because at a certain point, they started making XCode (their software development app for writing apps for Apple platforms) contain everything it needs within the .app itself, because they knew developers would typically need to have several versions of XCode installed simultaneously without any conflicts.
So if XCode can contain everything it needs within the .app itself, then why can't everything else? Seriously!
The only files that an app like DP might need to have outside of itself would be Audio Units or VST3 plugins that someone might want to use in a different audio application. In that case, when you install DP, in the subfolders of /Library/Audio/Plug-Ins/, DP's installer could simply make aliases to the files inside the subdirectories of /Applications/Digital Performer.app/, and make sure their names include the version. That way, installing a different version of DP wouldn't cause any conflicts.
I would love it if, someday, Microsoft Office, Photoshop, DP, and everything else could be installed without ANYTHING being put ANYWHERE on my hard drive except just the app itself. That's the way the Mac was supposed to be, but somewhere along the way, people became idiots.