TWebUpdate

Hi


How can i read the Version Info that is compiled in the Program?
Major, Minor, Release, Build
Thanks for a Tip.

Greetings from Switzerland

TEXEInfo can do this:

http://www.tmssoftware.com/site/exeinfo.asp

Thank you very much for the fast Answer. ;-)


Shalom

When i call EXEInfo like

ExeInfo.ProductVersion
ExeInfo.FileVersion
ProductVersion is always 1.0.0.0
FileVersion is also 1.0.0.0
If i go into Projekt Options Version Info the FileVersion is 4.0.1.6
and ProductVersion is 2.0.0.0
the ProductName is also empty....

I use Delphi XE2 with TEXEInfo 1.3.0.0

Hi again


would be nice to get a solution.
With Delphi 2006 this works:
Label.Caption := ExeInfo.ProductName + ' ' + ExeInfo.FileVersion;
With Delphi XE2 not....

Are you sure you did set the file version info for the mode in which you compile the app?
Note that for each mode (release/debug/...) you need to set the version info separately.

Same problem here.
Shows only 1.0.0.0
Other project same settings show correctly????????
Delphi 11 latest
TMS Latest
TExeInfo version: 1.6.1.1

Note that for each mode (release/debug/...)
Settings are correct

Can you check your generated EXE file that it contains the VERSIONINFO resource?
If it contains this VERSIONINFO resource and EXEInfo cannot report this correct, please send the full source project so we can investigate this here.