Why "Enable Usage Monitoring..." option is disabled for some Software of type "CA Provided" ?

Document ID : KB000045291
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

In discovered software folder of a machine, when right clicking on one "CA provided" detected software,
option "Enable Usage Monitoring..." is disabled and enabled for some others detected software. Why ?
 

Example :

 

"CA Provided" detected Software "DirectX 9.0c" has option "Enable Usage Monitoring..." disabled. It is greyed out.

 

Untitled.jpg

 

 

But "CA Provided" detected Software "Foundation Classes (MFC) 7.0" has option "Enable Usage Monitoring..." enabled and could be used in a Software Metering Usage task.

 

Untitled2.jpg

 

 

Environment: 

 

 

CA Client Automation - All Versions    

                                   

 

Answer:

 

A "CA Provided" Software has option "Enable Usage Monitoring..." enabled if it contains at least one file in its detection signature.
The files in the detection signature are used for the Software Usage monitoring task.
 
Example :
In properties of DirectX 9.0c, in recognition tab the XML Signature does not contain a file tag :
 
<registry name="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX\Version" match="4\.09\.00\.0904" />
 
 
This Software is detected using a registry key and not a file :
 
Untitled3.jpg
 
 
It is why it could not be used for a Software Usage task and option "Enable Usage Monitoring..." is disabled
 
 
 
In properties of "Foundation Classes (MFC) 7.0" in recognition tab the XML Signature contains a file tag :

<file name="mfc70.dll" minversion="7.0.9466.0" maxversion="7.0" path="*" /> 

 
This Software could be used for a Software Usage task and option "Enable Usage Monitoring..." is enabled

 

Untitled5.jpg