From: admin@lists.myITforum.com [mailto:admin@lists.myITforum.com] On Behalf Of Todd Hemsell
Sent: Wednesday, January 07, 2009 5:21 PM
To: mssms@lists.myitforum.com
Subject: RE: [mssms] verify below SCCM mof snipet to report all versions of Flash

You could just add them to sinv right?

 

Although I agree with you when you went “Up a level” that just inventorying their existence is pretty much useless since you do not know if they are used or not.

 

They should be in the ie helper object though….

 

 

From: admin@lists.myITforum.com [mailto:admin@lists.myITforum.com] On Behalf Of Sherry Kissinger
Sent: Wednesday, January 07, 2009 3:04 PM
To: mssms@lists.myitforum.com
Subject: RE: [mssms] verify below SCCM mof snipet to report all versions of Flash

The problem with inventorying .ocx files is sometimes not useful. (ok, all the time, unless like me you essentially re-wrote Adobe's MSI with an .MST customization, so it wouldn't be ridiculously stupid) .  The updaters / or msi installers from Adobe just unregister & drop down a new .ocx file, and register that; and modify a bunch of reg keys.  But they don't delete the old .ocs files (or at least they didn't for every version I ever had to deploy).

DCM sounds like a good possibility.  Otherwise, I'll see what I can do w/your MOF snippet in the lab.

Sherry Kissinger
Microsoft MVP - ConfigMgr
mofmaster@smsexpert.com

--- On Wed, 1/7/09, John Marcum <jmarcum@myitforum.com> wrote:

From: John Marcum <jmarcum@myitforum.com>
Subject: RE: [mssms] verify below SCCM mof snipet to report all versions of Flash
To: mssms@lists.myitforum.com
Date: Wednesday, January 7, 2009, 8:53 PM

Can you inventory .ocx files, then report on a particular file and it's version number?

________________________________
John Marcum
MCP, MCTS, MCSA
MVP - System Center Configuration Manager 2007
www.myitforum.com/cs2/blogs/jmarcum
_________________________________

 


From: "Hector C." <cortez00@gmail.com>
Sent: Wednesday, January 07, 2009 2:50 PM
To: mssms@lists.myitforum.com
Subject: RE: [mssms] verify below SCCM mof snipet to report all versions of Flash

Ok so I give up.  I got the error to go away but there is still something wrong with the mof update.  Im going to take another direction.  Can anyone recommend how to report all versions of Flash on systems.   Here is the problem.  Flash 9, 10 and 11 do report in ARP but anything less than 9 does not.  They are just ocx files that are registerd in IE.  HMM I'm kind of stumped on this one..

 

From: admin@lists.myITforum.com [mailto:admin@lists.myITforum.com] On Behalf Of Chris Stauffer
Sent: Wednesday, January 07, 2009 9:28 AM
To: mssms@lists.myitforum.com
Subject: RE: [mssms] verify below SCCM mof snipet to report all versions of Flash

 

Why do you need a Mof mod to find Flash?

I Have a report that finds it among other things.

It is meant for my enviornment but it should give yo what you need.

******************************************************

Select arp.DisplayName0 AS Product
, count(*) as 'Count'
, col.Name AS [Agency]
FROM v_R_System sys
 JOIN v_GS_ADD_REMOVE_PROGRAMS arp ON sys.ResourceID = arp.ResourceID
 JOIN v_FullCollectionMembership fcm on sys.ResourceID=fcm.ResourceID
 AND CollectionID IN (SELECT subCollectionID FROM dbo.v_CollectToSubCollect WHERE ParentCollectionID = 'PAC0004a')
 INNER JOIN dbo.v_Collection AS col ON fcm.CollectionID = col.CollectionID

WHERE (arp.DisplayName0 like 'Microsoft Office Prof%' 
Or arp.DisplayName0 like 'Microsoft Office 2000 Prem%'
Or arp.DisplayName0 like 'Microsoft Office 2000 SR-1 Prem%' 
Or arp.DisplayName0 like 'Microsoft Office 2000 SR-1 Prof%' 
Or arp.DisplayName0 like 'Microsoft Office 2000 Stan%' 
Or arp.DisplayName0 like 'Microsoft Office 2000 SR-1 Stan%' 
Or arp.DisplayName0 like 'Microsoft Office XP Stan%' 
Or arp.DisplayName0 like 'Microsoft Office XP Sma%'
Or arp.DisplayName0 like 'Microsoft Office XP Professional %'
Or arp.DisplayName0 like 'Microsoft Office Professional Edition 2003%'
Or arp.DisplayName0 like 'Microsoft Office Professional 2007%'
Or arp.DisplayName0 like 'Microsoft Office Professional Plus 2007%'
Or arp.DisplayName0 like 'Microsoft Office Enterprise 2007%'
Or arp.DisplayName0 like 'Microsoft Office Ultimate 2007%'
Or arp.DisplayName0 LIKE 'Adobe Flash Player 8%'
Or arp.DisplayName0 LIKE 'Adobe Flash Player 9%'
Or arp.DisplayName0 LIKE 'Adobe Flash Player 10%'
Or arp.DisplayName0 LIKE 'Adobe Flash Player 11%'
Or arp.DisplayName0 LIKE 'Adobe Reader 1%'
Or arp.DisplayName0 LIKE 'Adobe Reader 2%'
Or arp.DisplayName0 LIKE 'Adobe Reader 3%'
Or arp.DisplayName0 LIKE 'Adobe Reader 4%'
Or arp.DisplayName0 LIKE 'Adobe Reader 5%'
Or arp.DisplayName0 LIKE 'Adobe Reader 6%'
Or arp.DisplayName0 LIKE 'Adobe Reader 7%'
Or arp.DisplayName0 LIKE 'Adobe Reader 8%'
Or arp.DisplayName0 LIKE 'Adobe Reader 9%'
or arp.DisplayName0 LIKE 'Windows Internet Explorer 7%'
Or arp.DisplayName0 LIKE 'Java%'
OR arp.DisplayName0 LIKE 'J2SE%'
OR arp.DisplayName0 LIKE 'Java %Runtime Environment%'
OR arp.DisplayName0 LIKE 'J2SE %Runtime Environment%'
)
GROUP BY DisplayName0, col.Name

*********************************************************


Thanks,
Christopher Stauffer <><
Enterprise SMS Admin
MCTS ConfigMgr 2007
MCP SMS 2003
Email: CStauffer@myitforum.com
Blog: http://myitforum.com/cs2/blogs/cstauffer/


From: "Hector C." <cortez00@gmail.com>
Sent: Wednesday, January 07, 2009 10:18 AM
To: mssms@lists.myitforum.com
Subject: RE: [mssms] verify below SCCM mof snipet to report all versions of Flash

Thanks Sherry, yeah I have that corrected in my mof just forgot to change it in the email. J This is weird

 

From: admin@lists.myITforum.com [mailto:admin@lists.myITforum.com] On Behalf Of Sherry Kissinger
Sent: Wednesday, January 07, 2009 9:05 AM
To: mssms@lists.myitforum.com
Subject: Re: [mssms] verify below SCCM mof snipet to report all versions of Flash

 

I've never had spaces in the section for class (in your case, Class Macromedia Flash Info : SMS_Class_Template)

 

Maybe change 'Macromeda Flash Info' to be just  Flash_Info , to match your other ones?

Sherry Kissinger
Microsoft MVP - ConfigMgr
mofmaster@smsexpert.com

--- On Wed, 1/7/09, Hector C. <cortez00@gmail.com> wrote:

From: Hector C. <cortez00@gmail.com>
Subject: [mssms] verify below SCCM mof snipet to report all versions of Flash
To: mssms@lists.myitforum.com
Date: Wednesday, January 7, 2009, 2:49 PM

Can someone review the mof snippet below, I'm trying to report back all Flash versions.  When I test and mofcomp -check it, its OK but when I update the production one I get the below error

Failed to convert MOF class/properties to policy; a retry will be attempted later...

 

AddtoSMSmof

 

//-- Start Macromedia Flash Info --

#pragma namespace(" \\\\.\\root\\cimv2\\sms" )

#pragma deleteclass("Falsh_Info",NOFAIL)

 

[SMS_Report(TRUE), SMS_Group_Name("Flash Info" ), SMS_Class_ID(" MICROSOFT|Flash Info|1.0" )]

Class Macromedia Flash Info : SMS_Class_Template

{

[SMS_Report(TRUE),key] string KeyName;

[SMS_Report(TRUE)] string ComponentID;

[SMS_Report(TRUE)] string IsInstalled;

[SMS_Report(TRUE)] string Version;

};

 

Add to ConfigMof

 

#pragma namespace(" \\\\.\\root\\CIMV2" )

#pragma deleteclass(" Flash_Info" ,NOFAIL)

[DYNPROPS]

Class Flash_Info

{

[key] string KeyName=" " ;

           string ComponentID;

           string IsInstalled;

           string Version;

};

[DYNPROPS]

instance of Flash_Info

{

KeyName = " KeyNames" ;

[PropertyContext(" Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{D27CDB6E-AE6D-11cf-96B8-444553540000}|ComponentID" ),

Dynamic, Provider("RegPropProv" )] ComponentID;

[PropertyContext(" Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{D27CDB6E-AE6D-11cf-96B8-444553540000}|IsInstalled" ),

Dynamic, Provider(" RegPropProv" )] IsInstalled;

[PropertyContext(" Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{D27CDB6E-AE6D-11cf-96B8-444553540000}|Version" ),

Dynamic, Provider(" RegPropProv" )] Version;

};

//-- End Macromedia Flash Info --

==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/


==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/


==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/

==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/


==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/

==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/


==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/


==============
Missed an email? Check out the list archive:
http://myitforum.com/cs2/blogs/smslist/

Published with BlogMailr



Trackbacks

No Trackbacks

Comments

No Comments