you can run this via LEP:
#!/bin/bash
# MSO2016 : Microsoft Excel.app 15.34
app_name="Microsoft Excel.app"
app_path="/Applications/${app_name}"
if [ -e "${app_path}" ]; then
vers=`defaults read "${app_path}"/Contents/Info
CFBundleShortVersionString`
echo "$app_name $vers"
else
echo ' not found:' "$app_name"
fi
2018-05-30 2:32 GMT+02:00 Jeffrey Kain via 4D_Tech <[email protected]>:
> On macOS, what's the best way to check from 4D Remote if a specific
> version of an application is installed?
>
> I'm trying to figure out if the version of Office installed is 2016, but
> this doesn't appear in the .plist file, and GET DOCUMENT PROPERTIES doesn't
> have a selector for file version.
>
>
> --
> Jeffrey Kain
> [email protected]
>
>
>
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************