Setting Delphi version information for a build

I would like to be able to set the version information of a build, and while it looks like it is set in the FB IDE (verison 5--I have version 6, just haven't seen the need to update), and the script assigns the values:

  Action.MajorVerison = Year(Date)

  Action.MinorVersion = Month(Date)

  Action.ReleaseVersion = Day(Date)

 

These values don't look like they are being assigned in the EXE.

Am I doing something wrong? I'm pretty sure this worked in D7 at some point--I don't know when it broke.

 

Ed Dressel

Hi Ed

Which version of Delphi are you using? Do you have Regenerate Resource enabled (on the action’s project property page) and “Include version info” enabled?