Hi all. I'm relatively new to the FIlewave platform. I'm trying to create a query to update flash. Problem is, I'm getting everyone's flash update installers as a result. (See attached) So while there are only 29 macs, 79 show up in my query as needing updates!
Any help would be appreciated. Dave N.
It might be easier and faster to handle this as a Requirements Script. Your shell script should check for the presence of /Library/Internet\ Plug-Ins/Flash\ Player.plugin/Contents/Info.plist. If it doesn't find it then exit 0. If it does find it that means Flash is present. In that case use defaults to read the CFBundleShortVersionString key. If that value equals whatever the latest version of Flash is return exit 0. Otherwise return exit
Then in your fileset for the latest version of Flash for Mac, set the system requirements to Mac OS only and assign to a smart client group that contains all your devices. The OS restriction prevents it from installing on the Windows computers and the requirements script stops it from installing on Macs that don't have Flash or the latest version of Flash installed.
Yes, in a somewhat roundabout way. What you'd have to do is create a fileset that includes this script that populates a custom field. Then you would create a smart group based on an inventory query that uses the custom field as one of its selection criteria. Hopefully that wasn't too confusing and made sense.
Ultimately it comes down to what your purpose for creating this smart group is. Is it to
Find the devices that have an outdated version of Flash?
Find devices with outdated Flash plus the devices that don't have Flash at all on them?
Find the devices that have an outdated version of Flash and update them?
Make sure all devices have the latest version of Flash on them, regardless of whether they currently have Flash installed?
If your end goal is to deploy Flash like in 3 or 4 then my previous suggestion allows you to do this automatically without needing a list of what devices have an outdated Flash on them. The OS requirements for the Flash fileset and requirements script attached to your Flash fileset will take care of that for you. If your end goal is just to get a listing of devices and their Flash status without taking any kind of remedial action then the smart group based on a custom field makes more sense.