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 |
navi
Messages: 107 Registered: February 2012 Location: Sydney, Australia
|
Experienced Member |
|
|
Hi All,
Just wanted to share something I found.
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
[Updated on: Sat, 26 January 2013 23:30] Report message to a moderator
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Nov 10 20:47:58 CET 2024
Total time taken to generate the page: 0.02617 seconds
|