如何设置现有.exe,.dll的版本信息? [英] How do I set the version information for an existing .exe, .dll?

查看:168
本文介绍了如何设置现有.exe,.dll的版本信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为构建过程的一部分,我需要为所有编译的二进制文件设置版本信息。一些二进制文件已经具有版本信息(在编译时添加),有些没有。



我想要应用以下信息:




  • 公司名称

  • 版权声明

  • 产品名称

  • 产品说明

  • 文件版本

  • 产品版本



所有这些属性都由构建脚本指定,编译后应用。这些是使用C ++ Builder 2007编译的标准二进制文件(而不是程序集)。



我该怎么做?

解决方案

虽然它不是批处理过程,但Visual Studio也可以添加/编辑文件资源。



只需在.EXE或.DLL上使用File-> Open-> File。这有助于修复版本信息后建立,或将其添加到没有这些资源的文件开始。


As part of our build process I need to set the version information for all of our compiled binaries. Some of the binaries already have version information (added at compile time) and some do not.

I want to be able to apply the following information:

  • Company Name
  • Copyright Notice
  • Product Name
  • Product Description
  • File Version
  • Product Version

All of these attributes are specified by the build script and must be applied after compilation. These are standard binaries (not assemblies) compiled with C++ Builder 2007.

How can I do this?

解决方案

While it's not a batch process, Visual Studio can also add/edit file resources.

Just use File->Open->File on the .EXE or .DLL. This is handy for fixing version information post-build, or adding it to files that don't have these resources to begin with.

这篇关于如何设置现有.exe,.dll的版本信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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