Opened 4 years ago
Closed 15 months ago
#294 closed enhancement (fixed)
Fileversion included in the exe
| Reported by: | rib@… | Owned by: | MickeM |
|---|---|---|---|
| Priority: | 3 | Milestone: | 0.4.0 |
| Component: | Core | Version: | 0.3.2 |
| Severity: | Feature Requests | Keywords: | |
| Cc: |
Description
Hi
I'am in charge for our software deployment and our inventory tools, and it would be a big help for me to be able to query the exe file (and the plugins) for a version number.
Could you include this in the next releases ?
example: rightclick on c:\windows\notepad.exe and you will see a version tab. This is the kind of information that I would like.
Thanks in advance.
rg
Richard Bjerregaard
TDC Hosting A/S
Change History (6)
comment:1 Changed 3 years ago by mickem
- Milestone changed from 0.3.6 to 0.3.7
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 3 years ago by Richardo
- Resolution fixed deleted
- Status changed from closed to reopened
Hi
I think, I did not explan good enough. I wanted the nsclient.exe and the plugins to have the version number. Not to be able to check for it. We don't use NSclient for inventory, but need to detect which version is installed.
rg
Richard
comment:3 follow-up: ↓ 5 Changed 3 years ago by mickem
Ohh, sorry, I misunderstood.
I shall see if I can do that.
There is (BTW) a check version command to check the version (of nsclient++) but I am thinking you want it "outside"...
Michael Medin
comment:4 Changed 15 months ago by mickem
- Milestone changed from 0.3.7 to 0.4.0
comment:5 in reply to: ↑ 3 Changed 15 months ago by Richardo
Heya
yes.
A small vbscript sample (2 lines):
Set objFSO = CreateObject("Scripting.FileSystemObject")
WScript.Echo objFSO.GetFileVersion("C:\Program Files\NSClient\NSClient++.exe")
rg
Richard
Replying to mickem:
Ohh, sorry, I misunderstood.
I shall see if I can do that.
There is (BTW) a check version command to check the version (of nsclient++) but I am thinking you want it "outside"...
Michael Medin
comment:6 Changed 15 months ago by mickem
- Resolution set to fixed
- Status changed from reopened to closed
Fixed...









Will be added in the next nightly let me know where to go from here. And hopefully there will be a new CheckSingleFile? to go along with this quite soon which will make this more useful.
And the negative:
Michael Medin