I'm trying to determine what version of the OS a specific macOS installer will install.
Lets say I have an installer app, i.e. /Applications/Install macOS Sonoma.app, and in this case I know it's for macOS 14.2.1.
If I then go into /Applications/Install macOS Sonoma.app/Contents/Info.plist ... and use defaults to read it, I get (amongst other things)...
DTPlatformBuild = 23C64 DTPlatformVersion = "14.2"
My expectations are... DTPlatformBuild = 23C71 DTPlatformVersion = "14.2.1"
Context: I'm writing an app that needs to make sure that the installer on a machine is the newest available... i.e.
If current installer, do nothing If old installer, delete and download new installer
Can anyone offer any help? Thanks in advance.