One way of doing this, is by not using the Delphi Project Options. On the dialog of your screenshot, disable "Include version information in project". Remember to do this for all targets. I've struggled with conflicting settings between targets before, and typically got rid of the troubles by modifying the .dproj
XML data manually.
Create an empty file with extension .rc
, choose something different than your project name as file name. Then add the file with Project > Add to project...
, you may have to change the file type to Resource file (*.rc)
. It will add something to the .dpr
file that looks like this:
{$R 'verinfo.res' 'verinfo.rc'}
Don't worry about the .res
file, it will get generated by the compilation process based on your .rc
file. (Actually it's BRCC32.EXE that will get called to do this.)
Edit the .rc
file and add a VERSIONINFO
section, as described here. If you edit this file, or (re-)generate it by the automated building prior compilation, the resulting binaries should have this version data as official version by the file properties.