forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 24
$VERSIONINFO
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.
$VERSIONINFO:key=value
- 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)
- Text and numerical values are string literals without quotes entered by programmer. No variables are accepted. (variable names would be interpreted as literals).
- Numeric key=value must be 4 comma-separated numerical text values entered by programmer which usually stand for major, minor, revision and build numbers).
- Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions.
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