Exe 中缺少 Delphi 2007 版本信息
我有一个 Delphi 2007 项目,我正在尝试设置项目->选项->“版本信息”。我将值输入表单并保存项目。但是,当我构建时,生成的 exe 不包含我输入的版本信息。事实上,它只包含文件版本、语言和产品版本 - 没有其他值,如内部名称、产品名称等...
我注意到这些值不会保存到 .dproj 文件中。所以我尝试将它们手动输入到所述文件的 xml 中,保存并构建。同样,该 exe 的版本信息不完整。
我所说的版本信息(在 Windows 中)是指当您右键单击 exe 并选择属性并单击“版本”选项卡时所看到的内容。
编辑: 我可能还应该提到这是一个使用 DUnit 的测试项目。
有人有什么想法吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
IIRC 这些值仍然保存在 .res 文件中。您是否以某种方式删除/修改它?
IIRC those values are still saved in the .res file. Are you deleting/modifying it someway?
除了 .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.