Exe 中缺少 Delphi 2007 版本信息

发布于 2024-10-07 17:26:49 字数 364 浏览 0 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吝吻 2024-10-14 17:26:49

IIRC 这些值仍然保存在 .res 文件中。您是否以某种方式删除/修改它?

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

回忆躺在深渊里 2024-10-14 17:26:49

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文