Update Delphi BPL / EXE file version info when compiling outside of IDE

Giganews Newsgroups
Subject:Update Delphi BPL / EXE file version info when compiling outside of IDE
Posted by: Greg Saunders
Date:Thu, 31 Dec 2009

I am using Delphi 6 for a specific project.

When I am in IDE I can update the file version, save (which updates DOF and RES), compile and the resulting BPL or EXE shows the correct new file version info.

I am now building everything outside of the IDE using "make" with the .bpg or using dcc32 with the .dpr.

I thought I all had to do was update the DOF file (before I realized the RES file holds version info as well).  So I have a utility that updates the DOF, but that apparently isn't sufficient.  The RES needs to be updated with the newer version info so when compiled outside of IDE it will reflect the correct file version info with the BPL / EXE.

How are you doing this?  What needs to be done to make this work so I don't have to load up the IDE when I simply want to use the command line compiler.

Thanks,

Greg

Replies