/build/static/layout/Breadcrumb_cap_w.png

Custom Inventory Rule Question

I am trying to create a custom inventory rule for Mozilla Firefox 15.0.1, which is this RegistryKeyExists(HKLM\SOFTWARE\Mozilla\Mozilla Firefox) and RegistryValueLessThan(HKLM\SOFTWARE\Mozilla\Mozilla Firefox,,15.0) . How can I return the default entry ((Default) or @) in a registry REG_SZ entry?

 I have tried @ (RegistryValueLessThan(HKLM\SOFTWARE\Mozilla\Mozilla Firefox,@,15.0)) and it throws this error "Custom Inventory Rule failed on registry operation: flags=0x0404 key='HKLM\SOFTWARE\Mozilla\Mozilla Firefox', name='@', value='15.0': (2) The system cannot find the file specified."

 I have tried (DEFAULT) (RegistryValueLessThan(HKLM\SOFTWARE\Mozilla\Mozilla Firefox,(DEFAULT),15.0)) and it throws this error "Custom Inventory Rule failed on registry operation: flags=0x0404 key='HKLM\SOFTWARE\Mozilla\Mozilla Firefox', name='(DEFAULT)', value='15.0': (2) The system cannot find the file specified."

 I have tried to leave the valuename blank (RegistryValueLessThan(HKLM\SOFTWARE\Mozilla\Mozilla Firefox,,15.0)) and it throws this error "Custom Inventory Rule (1229) does not have correct arguments: RegistryValueLessThan args=2"

Any help would be greatful, thanks

Larry


0 Comments   [ + ] Show comments

Answers (3)

Posted by: c_brock 11 years ago
Third Degree Brown Belt
1

Here is an article that I created using custom inventory rules to search and inventory what version of IE is installed.  Maybe you can find it helpful!

http://www.itninja.com/blog/view/kace-custom-inventory-rules-101

Posted by: chucksteel 11 years ago
Red Belt
0

My first question is why you need to create a custom inventory rule for 15.0.1. My KBox is showing distinct entries in the Software inventory for 15.0 vs 15.0.1. 

I would also suggest that you base the rule on the version of firefox.exe instead of the information in registry. 


Comments:
  • I am trying to get the Managed Installations working so if a machine has a version of FF below 15.0.1 the machine will automatically be updated the next time it checks in.

    Originally I was going to use the registry to compare information versus file version due to 32 bit and 64 bit program files and different file locations. After doing more research I am going to have to go with comparing file versions as I am finding comparing registry versions not as reliable as I thought it was. Thanks - SecurityTeam 11 years ago
  • For a managed installation it would be better to create a smart label based on the version of Firefox installed, instead of a custom inventory rule. - chucksteel 11 years ago
Posted by: AbhayR 11 years ago
Red Belt
0

For default values, give a space between commas like


RegistryValueLessThan(HKLM\SOFTWARE\Mozilla\Mozilla Firefox, ,15.0) 

 

Thanks

Abhay

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ