When troubleshooting Apps & Books deployments, it may become necessary to determine whether an application has been deployed via Apps & Books. The following command can be deployed to verify this status (change nameOfApp to the name of the application):
mdls /Applications/nameOfApp.app/ -name kMDItemAppStoreReceiptIsVPPLicensed
- An output of 1 means the application was installed via Apps & Books.
- An output of 0 means it was not installed via Apps & Books.