Skip to content
Cory Smith edited this page Jun 7, 2022 · 6 revisions

DISPLAYTITLE:$VERSIONINFO
The $VERSIONINFO Metacommand adds text metadata to the resulting executable for identification purposes across the OS. Windows-only.

Syntax

$VERSIONINFO:key=value

Parameter(s)

  • Text keys can be: Comments, CompanyName, FileDescription, FileVersion, InternalName, LegalCopyright, LegalTrademarks, OriginalFilename, ProductName, ProductVersion, Web
  • Numeric keys can be:FILEVERSION# and PRODUCTVERSION# **When provided, the numerical keys FILEVERSION# and PRODUCTVERSION# will also provide values to the text keys FileVersion and ProductVersion, if the text versions are not provided separately. (Phoenix Edition v0.6.0 and above)

Description

Example(s)

Example: Adding metadata to a Windows exe compiled with QB64:

$VERSIONINFO:CompanyName=Your company name goes here
$VERSIONINFO:FILEVERSION#=1,0,0,0
$VERSIONINFO:PRODUCTVERSION#=1,0,0,0

See Also

  • $EXEICON
  • _ICON
  • [https://msdn.microsoft.com/library/windows/desktop/aa381058(v=vs.85).aspx VERSIONINFO resource (MSDN)]
Clone this wiki locally