Exe中缺少Delphi 2007版本信息 [英] Delphi 2007 Version Info missing from Exe

查看:136
本文介绍了Exe中缺少Delphi 2007版本信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Delphi 2007项目,我正在尝试设置Project-> Options->'Version Info'.我将值输入到表单中并保存项目.但是,在构建时,生成的exe不包含我输入的版本信息.实际上,它仅包含文件版本,语言和产品版本-没有其他值,如内部名称,产品名称等...

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...

我注意到这些值没有保存到.dproj文件中.因此,我尝试将它们手动输入到所述文件的xml中,然后进行保存和构建.同样,exe的版本信息不完整.

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.

按版本信息(在Windows中),我的意思是当您右键单击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.

我可能还应该提到这是一个使用DUnit的Test项目.

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

有人有什么主意吗?

推荐答案

除了.res文件之外,作为最后的选择,您可以删除.dproj文件,Delphi可以从.dpr文件中重新创建它,但是您会丢失您完整的构建配置设置,它们将被重置为默认设置.

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.

这篇关于Exe中缺少Delphi 2007版本信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆