Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Adding Version Information & Icons to app's exe file
Adding Version Information & Icons to app's exe file [message #38905] Sat, 26 January 2013 23:23 Go to previous message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
Hi All,

Just wanted to share something I found. Smile

Here is how to add a cool Icon & Version Information to your app EXE file. Unless you specify the path, leave the App.ico in your Package directory. Create a .rc file in the Package directory and add it to your package like any other file. Below is an example of what content can you put in .rc file.

the below example is not my own, its from here. For more example and information about Icon, VERSIONINFO, OS Code, Language Code.
RC files also supports a subset of the preprocessor directives, #defines, #include, #pragmas etc

5556 ICON "App.ico"

1 VERSIONINFO
FILEVERSION     1,0,0,0
PRODUCTVERSION  1,0,0,0
BEGIN
  BLOCK "StringFileInfo"
  BEGIN
    BLOCK "080904E4"
    BEGIN
      VALUE "CompanyName", "My Company Name"
      VALUE "FileDescription", "My excellent application"
      VALUE "FileVersion", "1.0"
      VALUE "InternalName", "my_app"
      VALUE "LegalCopyright", "My Name"
      VALUE "OriginalFilename", "my_app.exe"
      VALUE "ProductName", "My App"
      VALUE "ProductVersion", "1.0"
    END
  END

  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x809, 1252
  END
END




index.php?t=getfile&id=4036&private=0

[Updated on: Sat, 26 January 2013 23:30]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is it possible ?
Next Topic: [Skylark][witz] How would you do this
Goto Forum:
  


Current Time: Fri Mar 29 09:28:32 CET 2024

Total time taken to generate the page: 0.01440 seconds