次の方法で共有


StringFileInfo Block (Compact 2013)

3/28/2014

A string information block has the following form.

BLOCK "StringFileInfo" {  BLOCK "lang-charset" { VALUE "string-name", "value" . . . } }

Parameters

  • lang-charset
    Specifies a language and character-set identifier pair. It is a hexadecimal string consisting of the concatenation of the language and character set identifiers specified in Remarks.
  • string-name
    Specifies the name of a value in the block and is one of the predefined names specified in Remarks.
  • value
    Specifies, as a character string, the value of the corresponding string name. More than one VALUE statement can be specified.

Remarks

The lang-charset parameter specifies a valid language identifier. For more information about language identifiers, see Language Identifiers and Locales.

The lang-charset parameter also specifies a valid code page that contains character set identifiers. The string-name parameter specifies one of the following predefined names.

Value

Description

Comments

Specifies additional information that should be displayed for diagnostic purposes.

CompanyName

Specifies the company that produced the file - for example, "Microsoft Corporation." This string is required.

FileDescription

Specifies a file description to be presented to users. This string may be displayed in a list box when the user is choosing files to install - for example, "Keyboard Driver for AT-Style Keyboards". This string is required.

FileVersion

Specifies the version number of the file - for example, "3.10" or "5.00.rc2". This string is required.

InternalName

Specifies the internal name of the file, if one exists - for example, a module name if the file is a DLL. If the file has no internal name, this string should be the original file name, without extension. This string is required.

LegalCopyright

Specifies all copyright notices that apply to the file. This should include the full text of all notices, legal symbols, copyright dates, and so on - for example, "Copyright © Microsoft Corporation 1990-1998". This string is optional.

LegalTrademarks

Specifies all trademarks and registered trademarks that apply to the file. This should include the full text of all notices, legal symbols, trademark numbers, and so on. This string is optional.

OriginalFilename

Specifies the original name of the file, not including a path. This information enables an application to determine whether a file has been renamed by a user. The format of the name depends on the file system for which the file was created. This string is required.

PrivateBuild

Specifies information about a private version of the file - for example, "Built by TESTER1 on \TESTBED". This string should be present only if VS_FF_PRIVATEBUILD is specified in the fileflags parameter of the root block.

ProductName

Specifies the name of the product with which the file is distributed. This string is required.

ProductVersion

Specifies the version of the product with which the file is distributed - for example, "3.10" or "5.00.rc2". This string is required.

SpecialBuild

Specifies how this version of the file differs from the standard version. This string should be present only if VS_FF_SPECIALBUILD is specified in the fileflags parameter of the root block.

See Also

Reference

Resource-Definition Statements