1// Microsoft Visual C++ resource script for embedding version information. 2// The format is described at: 3// http://msdn.microsoft.com/en-gb/library/windows/desktop/aa380599(v=vs.85).aspx 4// The VERSIONINFO resource is described at: 5// https://msdn.microsoft.com/en-gb/library/windows/desktop/aa381058(v=vs.85).aspx 6 7 8// Default values for required fields. 9 10#ifndef RC_VERSION_FIELD_1 11#define RC_VERSION_FIELD_1 0 12#endif 13 14#ifndef RC_VERSION_FIELD_2 15#define RC_VERSION_FIELD_2 0 16#endif 17 18#ifndef RC_VERSION_FIELD_3 19#define RC_VERSION_FIELD_3 0 20#endif 21 22#ifndef RC_VERSION_FIELD_4 23#define RC_VERSION_FIELD_4 0 24#endif 25 26#ifndef RC_COMPANY_NAME 27#define RC_COMPANY_NAME "" 28#endif 29 30#ifndef RC_FILE_DESCRIPTION 31#define RC_FILE_DESCRIPTION "" 32#endif 33 34#ifndef RC_FILE_VERSION 35#define RC_FILE_VERSION "" 36#endif 37 38#ifndef RC_INTERNAL_NAME 39#define RC_INTERNAL_NAME "" 40#endif 41 42#ifndef RC_ORIGINAL_FILENAME 43#define RC_ORIGINAL_FILENAME "" 44#endif 45 46#ifndef RC_PRODUCT_NAME 47#define RC_PRODUCT_NAME "" 48#endif 49 50#ifndef RC_PRODUCT_VERSION 51#define RC_PRODUCT_VERSION "" 52#endif 53 54 551 VERSIONINFO 56FILEVERSION RC_VERSION_FIELD_1,RC_VERSION_FIELD_2,RC_VERSION_FIELD_3,RC_VERSION_FIELD_4 57BEGIN 58 BLOCK "StringFileInfo" 59 BEGIN 60 BLOCK "040904B0" 61 BEGIN 62 // Required strings 63 VALUE "CompanyName", RC_COMPANY_NAME 64 VALUE "FileDescription", RC_FILE_DESCRIPTION 65 VALUE "FileVersion", RC_FILE_VERSION 66 VALUE "InternalName", RC_INTERNAL_NAME 67 VALUE "OriginalFilename", RC_ORIGINAL_FILENAME 68 VALUE "ProductName", RC_PRODUCT_NAME 69 VALUE "ProductVersion", RC_PRODUCT_VERSION 70 71 // Optional strings 72#ifdef RC_COMMENTS 73 VALUE "Comments", RC_COMMENTS 74#endif 75 76#ifdef RC_COPYRIGHT 77 VALUE "LegalCopyright", RC_COPYRIGHT 78#endif 79 END 80 END 81 82 BLOCK "VarFileInfo" 83 BEGIN 84 // The translation must correspond to the above BLOCK inside StringFileInfo 85 // langID 0x0409 U.S. English 86 // charsetID 0x04B0 Unicode 87 VALUE "Translation", 0x0409, 0x04B0 88 END 89END