|
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||
|
home products solutions news downloads order support about us |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Resource Tuner Console Feature Tour |
||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Console Resource Editor Easy Way to Update The Version Information Application developers often need a command-line utility to allow modification of file version information on existing Windows EXE or DLL files. While these files already contain a Version Info resource (embedded into the executable during linking), Resource Tuner Console enables you to automatically stamp their version during the release process to insure consistency. If these files contain no Version Information resource, Resource Tuner Console will create this resource for you. Every field in the VERSIONINFO structure is under your control. For instance, you have got code that depends on the value of the "Product Version" property of the setup.exe file, and the installations you have generated are missing the "build #" portion of that version. You may use Resource Tuner GUI to modify the properties of the setup.exe after you build it, but it is a manual process that you would rather not have to do every time you build a new release. From now on, you don't have to change file version information manually every time you rebuild your project. With the File Version Info operations of RTC, it is very easy and convenient to manage files' version information. Let's get started with the Version Information automation. 1. Prepare a simple script (see below) The File Version Information before:
The File Version Information after: (To see the changes made, we recommend using Resource Tuner GUI)
This script is based on the Update VersionInfo sample script. A description of the RTC script format and sample scripts can be found in the RTC Scripting Language Reference within the Resource Tuner Console package. It may be helpful to use this example as a template for your own scripts.
|
|||||||||||||||||||||||||||||||||||||||||||||||||