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

Comments

Please log in to comment

Community Chosen Answer

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

Answered 04/16/2013 by: c_brock
Third Degree Brown Belt

Please log in to comment

Answers

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. 

Answered 09/28/2012 by: chucksteel
Red Belt

  • 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
  • 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.
Please log in to comment
0

For default values, give a space between commas like


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

 

Thanks

Abhay

Answered 10/01/2012 by: AbhayR
Fourth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity