/build/static/layout/Breadcrumb_cap_w.png

Custom inventory rules

Hello,

I've been asked to start reporting the file versions of a number of EXEs that are used as part of our point of sale system, these aren't installed via the standard windows method so I created a software inventory item and set a custom inventory rule,

TillPOS

fileversion(C:\Till\pos.exe, 5.1.2.3)

I did this about 2 hours ago and a number of tills have reported in since the software item was added however they do not have any info under the custom inventory fields.

Am I being impatient?

Thanks.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: airwolf 13 years ago
Red Belt
3
Use boolean operators... AND should work.
filexists(c:\till\pos.exe) AND filereturninfo(c:\till\pos.exe, fileversion,text)
Posted by: airwolf 13 years ago
Red Belt
2
You are misunderstanding how custom inventory items work. You have created a custom software title that checks for a file version. This will show up under "Installed Programs". The "Custom Software Fields" section pulls info based on your inventory rules - and yours does not "pull" any info.

Put simply, you need to look under Installed Programs.
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: nbs 13 years ago
Orange Belt
0
Thanks for your response! I literally noticed that the custom software entry had started to work but by that point I had changed the rule to

FileInfoReturn(C:\Till\Pos.exe,FileVersion,TEXT)

I'm probably happy either way as the criteria is this exe must be a certain version.

I'll probably create a second software for generic Till POS Version to get back the information for any other versions.
Posted by: nbs 13 years ago
Orange Belt
0
Can these rules be chained through a conditional operator, ie

filexists(c:\till\pos.exe) then filereturninfo(c:\till\pos.exe, fileversion,text) ?

systems are being marked as having the software installed even when it's not present, but it's not returning the version of the non-existant file (obviously) so I would like to make it conditional for those devices that actually have the file present.
Posted by: nbs 13 years ago
Orange Belt
0
Thanks guys, this worked!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

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