Jump to content
  • Advertisement
Sign in to follow this  
Ganoosh_

Executable meta-data

This topic is 4861 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do you put info into the executable like company name and such that will show up in gray under the filename in Windows Explorer? I tried using the VERSIONINFO resource, but it doesn't do anything, so how do I this?

Share this post


Link to post
Share on other sites
Advertisement
Well, under Visual Studio:

1. Rightclick on the "Resource Files" group, and select Add->Add Resource
2. Select Version and click New
3. Enter the file details

Share this post


Link to post
Share on other sites
I'm using Dev-C++ though, do you know how to do it in that? Or could you do that in Visual Studio and then paste the code it generates?

Share this post


Link to post
Share on other sites
Here's the content from the resource file:

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "0c0904b0"
BEGIN
VALUE "FileDescription", "test Application"
VALUE "FileVersion", "1, 0, 0, 1"
VALUE "InternalName", "test"
VALUE "LegalCopyright", "Copyright (C) 2005"
VALUE "OriginalFilename", "test.exe"
VALUE "ProductName", " test Application"
VALUE "ProductVersion", "1, 0, 0, 1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0xc09, 1200
END
END

Share this post


Link to post
Share on other sites
Under DevC++ just go to: Project->Project Options->Version info
or just Alt+P then Version info

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!