* Fix version resource information for wrapper and vboxwrapper.

(From: Teemu Mannermaa)
This commit is contained in:
Rom Walton 2014-09-08 12:37:15 -04:00
parent 3abed383e5
commit 952c064f18
2 changed files with 13 additions and 5 deletions

View File

@ -33,6 +33,10 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
// Version
//
// Helpful macros to convert version to string notation
#define TOSTR(s) #s
#define VER_TOSTR(maj,min,rel) TOSTR(maj) "." TOSTR(min) "." TOSTR(rel) "\0"
VS_VERSION_INFO VERSIONINFO
FILEVERSION BOINC_MAJOR_VERSION,BOINC_MINOR_VERSION,VBOXWRAPPER_RELEASE,0
PRODUCTVERSION BOINC_MAJOR_VERSION,BOINC_MINOR_VERSION,VBOXWRAPPER_RELEASE,0
@ -52,12 +56,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Space Sciences Laboratory"
VALUE "FileDescription", "BOINC VirtualBox Wrapper"
VALUE "FileVersion", BOINC_MAJOR_VERSION "." BOINC_MINOR_VERSION "." VBOXWRAPPER_RELEASE "\0"
VALUE "FileVersion", VER_TOSTR(BOINC_MAJOR_VERSION, BOINC_MINOR_VERSION, WRAPPER_RELEASE)
VALUE "InternalName", "vboxwrapper"
VALUE "LegalCopyright", "© 2011-2014 University of California"
VALUE "OriginalFilename", "vboxwrapper.exe"
VALUE "ProductName", "BOINC VirtualBox Wrapper"
VALUE "ProductVersion", BOINC_MAJOR_VERSION "." BOINC_MINOR_VERSION "." VBOXWRAPPER_RELEASE "\0"
VALUE "ProductVersion", VER_TOSTR(BOINC_MAJOR_VERSION, BOINC_MINOR_VERSION, WRAPPER_RELEASE)
END
END
BLOCK "VarFileInfo"

View File

@ -33,6 +33,10 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
// Version
//
// Helpful macros to convert version to string notation
#define TOSTR(s) #s
#define VER_TOSTR(maj,min,rel) TOSTR(maj) "." TOSTR(min) "." TOSTR(rel) "\0"
VS_VERSION_INFO VERSIONINFO
FILEVERSION BOINC_MAJOR_VERSION,BOINC_MINOR_VERSION,WRAPPER_RELEASE,0
PRODUCTVERSION BOINC_MAJOR_VERSION,BOINC_MINOR_VERSION,WRAPPER_RELEASE,0
@ -52,12 +56,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Space Sciences Laboratory"
VALUE "FileDescription", "BOINC Wrapper"
VALUE "FileVersion", BOINC_MAJOR_VERSION "." BOINC_MINOR_VERSION "." WRAPPER_RELEASE "\0"
VALUE "InternalName", "vboxwrapper"
VALUE "FileVersion", VER_TOSTR(BOINC_MAJOR_VERSION, BOINC_MINOR_VERSION, WRAPPER_RELEASE)
VALUE "InternalName", "wrapper"
VALUE "LegalCopyright", "© 2011-2014 University of California"
VALUE "OriginalFilename", "wrapper.exe"
VALUE "ProductName", "BOINC Wrapper"
VALUE "ProductVersion", BOINC_MAJOR_VERSION "." BOINC_MINOR_VERSION "." WRAPPER_RELEASE "\0"
VALUE "ProductVersion", VER_TOSTR(BOINC_MAJOR_VERSION, BOINC_MINOR_VERSION, WRAPPER_RELEASE)
END
END
BLOCK "VarFileInfo"