Running Applications showing wrong version number

(imported topic written by ajdyer200091)

I am running an analysis for of Cicso VPN . The relevance I’m using is

if (exists running application “cvpnd.exe”) then ( version of running application “cvpnd.exe”) as string else "not

installed"

The problem is that the file version returned is 0.0.0.

When I QNA Runnning Applications the vpn client shows

A: “cvpnd.exe” “0.0.0.0” “Cisco Systems VPN Client” “4.8.01.0300” “Cisco Systems, Inc.”

It is obviously taking the first entry. My question is how do I get “4.8.01.0300” instead of 0.0.0.0

Thanks

Alan

(imported comment written by BenKus)

Hi Alan,

You need to look at the “version block” of the file… Here is an example:

q:regapp "firefox.exe"
A: “firefox.exe” “3.6.3.0” “Firefox” “1.9.2.3” “Mozilla Corporation”

q: version of regapp "firefox.exe"
A: 1.9.2.3743

q: value “ProductVersion” of version block of regapps “firefox.exe” as version
A: 3.6.3

Ben

(imported comment written by Braian)

Hi Ben,

how can i get the displayname of regapps?

thanks,

Braian

(imported comment written by jvdh11)

In qna just use

q:
regapps

It should give you a list

(imported comment written by jgstew)

regapps has the same properties as the file inspector and a few extras.

http://support.bigfix.com/cgi-bin/inspectorsearch/single_inspector.cgi?cpx=c&keyphrase=regapp&type=application

(imported comment written by ajdyer200091)

Thanks Ben