Delphi 2007 Version Info missing from Exe

☆樱花仙子☆ 提交于 2019-12-23 02:59:07

问题


I have a Delphi 2007 project and I'm trying to set the Project->Options->'Version Info'. I enter the values into the form and save the project. However, when I build, the generated exe doesn't contain the Version Info that I entered. In fact, it only contains the File Version, Language and Product Version - none of the other values like Internal name, Product name etc...

I noticed that the values do not get saved to the .dproj file. So I tried entering them manually into the xml of said file, saving, and building. Again, the Version Info is incomplete for the exe.

By Version Info (in Windows), I mean what you see when you right-click on the exe and choose properties and click on the Version tab.

EDIT: I should probably also mention that this is a Test project using DUnit.

Anyone have any ideas?


回答1:


IIRC those values are still saved in the .res file. Are you deleting/modifying it someway?




回答2:


In addition to the .res file, as a last resort you could delete the .dproj file, Delphi can recreate it from the .dpr file, but you lose your complete build configuration settings and they will be reset to defaults.



来源:https://stackoverflow.com/questions/4458636/delphi-2007-version-info-missing-from-exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!