how to program an exe in FASM so it can display version information (in properties box) like company name, internal name, Product Name etc ...
I attach a macro written by Alex Smith.
HOWTO:
Suppose a single section exe with an icon and version info only:
Regards,
HOWTO:
Suppose a single section exe with an icon and version info only:
data resource
directory RT_ICON,icons, \
RT_GROUP_ICON,group_icons,\
RT_VERSION,versions
versions:
resource 1,LANG_NEUTRAL,version_info
icons:
resource 1,LANG_NEUTRAL, main_ico
group_icons:
resource IDI_ICON,LANG_NEUTRAL, main_icon
version version_info,00000000h,00000000h,00000000h,\
00000000h,0,0,VOS__WINDOWS32,VFT_APP,0
stringfileinfo
versionstringtable '040904e4',\
'Description','Whatever you want',\
'Product','Your Product',\
'FileVersion','1.0.0.0',\
'Copyright','You',\
'Author','You',\
'Email','if@you.want',\
'InternalName','your.exe',\
'OriginalFilename','your.exe',\
'ProductVersion','1.0.0.0'
varfileinfo 0,0 ; Must exist
icon main_icon, main_ico, 'res\main.ico'
end data
Regards,
Oh Thank you Pelaillo ! :alright: