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.