How do you make the "CompanyName" and "Contact E-mail" show up in the details window of a file?
FILEVERSION 1,0,0,7
PRODUCTVERSION 1,0,0,7
FILEFLAGSMASK 0x00000000L
FILEFLAGS 0x00000000L
FILEOS 0x00000000L
FILETYPE 0x00000000L
FILESUBTYPE 0x00000000L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "FileDescription", "YBK.Exe"
VALUE "FileVersion", "1.00"
VALUE "ProductName", "Yearbook"
VALUE "ProductVersion", "1.0.0.7"
VALUE "Development Language", "IWBASIC"
VALUE "CompanyName", "AquaTECH"
VALUE "Contact E-mail", "email@gmail.com"
VALUE "LegalCopyright", "Copyright© 2013"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1252
END
END
Later,
Clint
Everything I read indicates to me you should be able to add entries.
But I've had no luck.
I can change string values for string entries but if I change the name at all the value become blank
If I add a new string it is like it is ignored.
To make sure it wasn't something with GoRC I used Resource Hacker to modify the exe directly with the same results.
Maybe someone else can help.
thanks Larry for looking at it.
later,
Clint
Clint,
Here's a version file that I have used before, with what you need:
1 VERSIONINFO
FILEVERSION 1,1,0,0
PRODUCTVERSION 1,1,0,0
FILEFLAGSMASK 0x00000000L
FILEFLAGS 0x00000000L
FILEOS 0x00000004L
FILETYPE 0x00000001L
FILESUBTYPE 0x00000000L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080904E4"
BEGIN
VALUE "CompanyName","Brian D. Pugh"
VALUE "Contact e-mail","email@address.net"
VALUE "FileDescription","BookShop.exe"
VALUE "FileVersion","1.1"
VALUE "Development Language","IW Basic 2.09"
VALUE "LegalCopyright","Copyright \251 2011 Brian D. Pugh"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation",0x0809,1252
END
END
Brian
Thanks Brian, will try it.
Later,
Clint
Brian,
It doesn't work on win7.
I found this quote from codeproject about Win 7 versioninfo at this link http://www.codeproject.com/Articles/118909/Windows-7-File-properties-Version-Tab-Shell-Extens (http://www.codeproject.com/Articles/118909/Windows-7-File-properties-Version-Tab-Shell-Extens)
.. "Unfortunately, it neither shows all of the same information as before nor does it support copying and pasting of any of the displayed information either."
It looks like it is saved in the resource file but MS has stopped displaying all of the info that is in it.
So I guess that I am out of luck.. :(
Later,
Clint
Quote from: ckoehn on June 08, 2013, 07:27:43 AM
Brian,
It doesn't work on win7.
I found this quote from codeproject about Win 7 versioninfo at this link http://www.codeproject.com/Articles/118909/Windows-7-File-properties-Version-Tab-Shell-Extens (http://www.codeproject.com/Articles/118909/Windows-7-File-properties-Version-Tab-Shell-Extens)
.. "Unfortunately, it neither shows all of the same information as before nor does it support copying and pasting of any of the displayed information either."
It looks like it is saved in the resource file but MS has stopped displaying all of the info that is in it.
So I guess that I am out of luck.. :(
Later,
Clint
That's what I've concluded also.
Clint, unfortunately I only have XP SP3, no Win 7, so I couldn't try it on 7 - sorry
Brian
Brian,
How do you use what you posted in a program to have
the information in the program's exe properties window?
Bill
Bill,
You have to have a Project associated with your program.
Create a Project, add $main somewhere at the beginning of the listing, then while your program is open, click menu item Resource > Add
Make it ID 1, Type VersionInfo, and then paste in the text that I posted. Click Modify, and then re-compile
Brian
Here's another one I created, with more info than the first:
1 VERSIONINFO
FILEVERSION 1,4,2,3
PRODUCTVERSION 1,4,2,3
FILEFLAGSMASK 0x00000000L
FILEFLAGS 0x00000000L
FILEOS 0x00000004L
FILETYPE 0x00000001L
FILESUBTYPE 0x00000000L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080904E4"
BEGIN
VALUE "CompanyName","Brian D. Pugh"
VALUE "DevelopmentLanguage","IWBasic 2.09 - \251 Copyright 2009, 2010 IonicWind Software"
VALUE "FileDescription","Telegrapher.exe"
VALUE "FileVersion","1.4.2.3"
VALUE "InternalName","Telegrapher"
VALUE "LegalCopyright","Copyright \251 Brian D. Pugh, May 2013"
VALUE "LegalTrademarks","BDP"
VALUE "OriginalFilename","Telegrapher.exe"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation",0x0809,1252
END
END