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.
Click on Help - About. The exe version is in the paratheses. Double-Click on that and a new window will give you the build.
just a question...aren't these info retrieved from the codeunit 1?because in case of different build numbers (thus, no code merge), you're going to get a wrong version number.
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Click on Help - About. The exe version is in the paratheses. Double-Click on that and a new window will give you the build.
just a question...aren't these info retrieved from the codeunit 1?because in case of different build numbers (thus, no code merge), you're going to get a wrong version number.
No. Codeunit 1 has to do with the Application Version (database). Not the EXE version
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
FlowerBiz you are the man, not your wife (it's a joke), excellent idea, which pointed me in right direction. The working solution now is:
Comments
all info there
http://www.BiloBeauty.com
http://www.autismspeaks.org
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
No. Codeunit 1 has to do with the Application Version (database). Not the EXE version
P.S.: in 4 years of nav, i've never doubleclicked the version number
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Try this
Navision Build No.
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.