How to get version info of fin.exe?

arcull
Member Posts: 191
Hi there. I wonder if its possible to get somehow assembley info of the fin.exe which is currently running. I'm interested in getting the version of the client. Thanks for any suggestion.
0
Comments
-
Have a look inside the File-Properties -> Tab "Version Info". You can reach it with a right click on the fin.exe -> Properties.0
-
go to client folder in program files - right click on fin.exe - go to properties -> version tab
all info there0 -
Click on Help - About. The exe version is in the paratheses. Double-Click on that and a new window will give you the build.There are no bugs - only undocumented features.0
-
bbrown wrote:Click on Help - About. The exe version is in the paratheses. Double-Click on that and a new window will give you the build.0
-
Belias wrote:bbrown wrote:Click on Help - About. The exe version is in the paratheses. Double-Click on that and a new window will give you the build.
No. Codeunit 1 has to do with the Application Version (database). Not the EXE versionThere are no bugs - only undocumented features.0 -
Belias wrote::thumbsup: thank you
P.S.: in 4 years of nav, i've never doubleclicked the version number
Try this
Navision Build No.David Singleton0 -
I guess I didn't make my self clear enough, I want to get the version no. from C/AL code if possible. Thanks again.0
-
I don't know of a C/AL command to do what you are looking for but you can get this information from a Visual Basic script:
Set fso = CreateObject("Scripting.FileSystemObject") WScript.Echo fso.GetFileVersion("fin.exe")
Execute the above in the directory where the fin.exe file is located by running this command line:
cscript /Nologo \path to script file\scriptfile.vbs
It will return the version number followed by the build number, similar to: 6.0.29626.0
Using automation (or just the SHELL command if using classic) will enable you to retrieve this info from within C/AL code.0 -
I don't know of a C/AL command to do what you are looking for but you can get this information from a Visual Basic script:
Code: Select all
Set fso = CreateObject("Scripting.FileSystemObject")
WScript.Echo fso.GetFileVersion("fin.exe")
Execute the above in the directory where the fin.exe file is located by running this command line:
cscript /Nologo \path to script file\scriptfile.vbs
It will return the version number followed by the build number, similar to: 6.0.29626.0(it's a joke), excellent idea, which pointed me in right direction. The working solution now is:
OBJECT Codeunit 50000 test { OBJECT-PROPERTIES { Date=02.12.10; Time=[ 8:02:45]; Modified=Yes; Version List=; } PROPERTIES { OnRun=BEGIN CLEAR(FSObject); CREATE(FSObject,TRUE,TRUE); FVersion := FSObject.GetFileVersion(APPLICATIONPATH + 'fin.exe'); MESSAGE(FVersion); END; } CODE { VAR FSObject@1100636001 : Automation "{420B2830-E718-11CF-893D-00A0C9054228} 1.0:{0D43FE01-F093-11CF-8940-00A0C9054228}:'Microsoft Scripting Runtime'.FileSystemObject"; FVersion@1100636000 : Text[30]; BEGIN END. } }
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions