Creating Smart Groups - Internet Plugins

cdaley
New Contributor

Good morning.

I am trying to create a Smart Group for Internet Plugins, like Flip4Mac, Silverlight and Flash.

I create the Flip4Mac Smart Group with the following criteria (please see attached).

This group contains 0 members. I know there are versions of Flip4Mac that are not 2.4.0.11. My Flash smart group also has 0 members.

It appears that Casper does not know or respect such Plugins.

Does anyone have any advice.

Cheers Chris.
--
Chris Daley | Apple Engineer
St Joseph's College | Mark Street, Hunters Hill, NSW 2110 | Locked Bag 5009, Gladesville, NSW 1675

![external image link](attachments/f7b2271fb4d24c3d864b27845c9364ef)

2 REPLIES 2

stevewood
Honored Contributor II
Honored Contributor II

To be honest, I'm not even certain what is classified a "plug-in" by Casper
On Wed, Nov 2, 2011 at 6:09 PM, Daley, C <cdaley at joeys.org> wrote:
standards, but I do know that my JSS does not pickup any plug-ins at all on
my network.

To handle what you are trying to do, I use Extension Attributes to grab the
version number of the plug-ins you mention. The script I use for Flash,
for example is below:

#!/bin/bash

# get the current version of the flash player plug in

flashVersion=`/bin/cat /Library/Internet Plug-Ins/Flash
Player.plugin/Contents/Info.plist | grep -A 1 -m 1
CFBundleShortVersionString | grep string | sed 's/[/]//' | sed
's/<string>//g'`

echo "<result>$flashVersion</result>"

exit 0

However, Todd Ness pointed out that the same can be done with a lot less
code using the "defaults" command:

flashVersion=`defaults read /Library/Internet Plug-Ins/Flash
Player.plugin/Contents/Info CFBundleShortVersionString`

You can use that same method for pulling most, if not any, application
version (Silverlight, Flip4Mac, Firefox, etc). So once you've created the
Extension Attributes, simply scope your Smart Group around each of these
EAs.

HTH

Steve Wood
Director of IT
swood at integer.com

The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475

RobertHammen
Valued Contributor II

I have the same Smart Group, only I've completely filled out the Plug-in Title has: Flip4Mac WMV Plugin.plugin
On Nov 2, 2011, at 4:09 PM, Daley, C wrote:

Double check, under Settings->Inventory Options->Inventory Collection Preferences, that you have "Collect Plug-ins" selected...

Search inventory for a machine that you know has recon'd recently, and has Flip4Mac installed. From the results window, click "Details" and then click on "Plug-ins" to see what the names and version numbers of the inventoried plugins are...

--Robert