1#define VERSION 1 2#define SUBVERSION 0 3//#define VERVARIANT 0 4// .0 + VER_CONCEPT 5// .100 + VER_ALPHA 6// .200 + VER_BETA 7// .300 + VER_GAMMA 8// .500 + VER_FINAL 9//#define VER_CONCEPT 0 10//#define VER_BETA 6 11#define VER_FINAL 0 12 13#define VER_DAY 1 14#define VER_MONTH 4 15#define VER_YEAR 09 16 17 18// Header 19#if defined(_MSC_VER) && (_MSC_VER < 1500) 20#include "winres.h" 21#else 22#define WINVER 0x0500 23#include "winresrc.h" 24#endif 25#include "verinfo.hrc" 26 27#define VER_FIRSTYEAR 07 28 29#if !defined(ENGLISH) 30#define LG_D // generate always german version 31#endif 32 33// ----------------------------------------------------------------------- 34// language/character set specification table 35// ----------------------------------------------------------------------- 36 37RCD_LANGUAGE rcdata 38{ 39#ifdef LG_D 40 "040704B0", // Germany -> Unicode 41 "040704E4", // Germany -> Windows, Multilingual 42#else 43 "040904B0", // Germany -> Unicode 44 "040904E4", // USA -> Windows, Multilingual 45#endif 46 "04090000", // USA -> 7-Bit-ASCII 47 0 // end of table 48} 49 50// ----------------------------------------------------------------------- 51// version information 52// ----------------------------------------------------------------------- 53 54VS_VERSION_INFO versioninfo 55 fileversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 56 productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 57 fileflagsmask 0x3F 58 fileflags 59#if defined(DEBUG) 60 VS_FF_DEBUG | 61#endif 62#ifdef VER_PREL 63 VS_FF_PRERELEASE | 64#endif 65 0 66#ifndef WIN32 67 fileos VOS_DOS_WINDOWS16 68#else 69 fileos VOS_NT_WINDOWS32 70#endif 71 filetype VFT_APP 72 { 73 block "StringFileInfo" 74 { 75#ifdef LG_D 76 block "040704E4" 77 { 78 // German StringTable 79 value "CompanyName", "Sun Microsystems, Inc.\0" 80 value "FileDescription", "Service Tags Wrapper\0" 81 value "FileVersion", PPS(VER_LEVEL) "\0" 82 value "ProductVersion", PPS(VER_LEVEL) "\0" 83 value "OriginalFilename", "STCLIENT_WRAPPER.EXE\0" 84 value "InternalName", "stclient_wrapper\0" 85 value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0" 86 } 87#else 88 block "040904E4" 89 { 90 // International StringTable 91 value "CompanyName", "Sun Microsystems, Inc.\0" 92 value "FileDescription", "Service Tags Wrapper\0" 93 value "FileVersion", PPS(VER_LEVEL) "\0" 94 value "ProductVersion", PPS(VER_LEVEL) "\0" 95 value "OriginalFilename", "STCLIENT_WRAPPER.EXE\0" 96 value "InternalName", "stclient_wrapper\0" 97 value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0" 98 } 99#endif 100 } 101 102 block "VarFileInfo" 103 { 104#ifdef LG_D 105 value "Translation", 0x0407, 1252 106#else 107 value "Translation", 0x0409, 1252 108#endif 109 } 110 } 111 112// version binary entry 113VS_VERSION_INFO rcdata 114{ 115 0xF0, "sw", 0x0F, VER_YEAR, VER_MONTH, VER_DAY, 116 VERSION, SUBVERSION, VERVARIANT, VER_COUNT 117}; 118 119 120///////////////////////////////////////////////////////////////////////////// 121// 122// Manifest section 123// 1241 24 stwrapper.manifest 125 126