I have the following BeforeAction script for a Delphi 2007 compile:
SkipAction = not CreateEXEs EMailMsg = ""
if CreateExes then Action.MajorVersion = Year(Date) Action.MinorVersion = Month(Date) Action.ReleaseVersion = Day(Date) Action.UsePackages = False ... end if
This worked fine in D7, but in D2007, the version information is not being set. I am quite sure the CreateExes is True.
There are so many options that could change how this works that it might be best to send your project to support so we can take a look.
The most obvious one to look at is to make sure “Regenerate Resource” is enabled. Also, make sure the project source is actually including it’s res file (with {$R *.res}), this is a common source of confusion.
Take a look at the log, does it say it’s compiling the resource file?