Application Meta Data

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Application Meta Data

Post by Rathinagiri »

We can see many applications having Meta Data like Company, File Version, Internal Name, Language, Original File Name, Product Name, Product Version, Description, Copyright etc when we right click and see the properties.

I wish to enter these meta data in HMG applications.

Are these facilities already in place?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Application Meta Data

Post by gfilatov »

rathinagiri wrote:...
Are these facilities already in place?
Hi,

Yes, it is. :!:
Simply add/adapt to your application.RC file the following lines:
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904b0"
{
VALUE "FileDescription", "Application Description\000"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "Application Name\000"
VALUE "LegalCopyright", "My Copyright\000"
VALUE "LegalTrademarks", "Harbour"
VALUE "OriginalFilename", "AppName.exe"
VALUE "CompanyName", ""
VALUE "ProductName", "MiniGUI Utility"
VALUE "ProductVersion", "1.0.0.0"
VALUE "Comments", "Created by author\000"
}
}

BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409 0x04B0
}
}
and take a look for changes of the properties at the right mouse click :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Application Meta Data

Post by sudip »

Thanks a lot Grigory :)
With best regards.
Sudip
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Application Meta Data

Post by Rathinagiri »

Oh! Thanks a lot Grigory Filatov. I will try and revert back. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Application Meta Data

Post by mol »

I've tried it in my resources, but doesn't work!
What's going on?
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Application Meta Data

Post by gfilatov »

mol wrote:I've tried it in my resources, but doesn't work!
What's going on?
Hi,

I confirm this problem with MinGW resource manager also :o

BTW I've got the following result by using freeware utility ResHaker 3.4.0.79 at http://angusj.com/resourcehacker (look at attached sample).
;)
Attachments
test.zip
Application with embedded Meta Data
(623.2 KiB) Downloaded 399 times
Last edited by gfilatov on Tue Oct 06, 2009 1:40 pm, edited 1 time in total.
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Application Meta Data

Post by sudip »

Hello Grigory,
Thanks a lot for ResHacker :)
I downloaded it an tested with your sent example.
With best regards.
Sudip
With best regards,
Sudip
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Application Meta Data

Post by Pablo César »

I've got good results with this http://hmgforum.com/viewtopic.php?p=34935#p34935
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply