xref: /AOO41X/main/desktop/win32/source/applauncher/ooo/verinfo.rc (revision 47148b3bc50811ceb41802e4cc50a5db21535900)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#if !defined(ENGLISH)
25#define LG_D                    // generate always german version
26#endif
27
28#define VER_FIRSTYEAR   2009
29
30#include <windows.h>
31#include "version.hrc"
32
33// -----------------------------------------------------------------------
34//              version information
35// -----------------------------------------------------------------------
36
37VS_VERSION_INFO versioninfo
38    fileversion    VERSION, SUBVERSION, VERVARIANT, VER_COUNT
39    productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
40    fileflagsmask 0x3F
41    fileflags
42#if defined(DEBUG)
43    VS_FF_DEBUG |
44#endif
45#ifdef VER_PREL
46    VS_FF_PRERELEASE |
47#endif
48    0
49#ifndef WIN32
50    fileos VOS_DOS_WINDOWS16
51#else
52    fileos VOS_NT_WINDOWS32
53#endif
54    filetype VFT_APP
55    {
56        block "StringFileInfo"
57        {
58#ifdef LG_D
59            block "040704E4"
60            {
61                // German StringTable
62                value "CompanyName",        "Apache Software Foundation\0"
63                value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
64                value "FileVersion",        PPS(VER_LEVEL) "\0"
65                value "ProductVersion",     PPS(VER_LEVEL) "\0"
66                value "OriginalFilename",   PPS(RES_APP_NAME) ".exe\0"
67                value "InternalName",       PPS(RES_APP_NAME) "\0"
68                value "LegalCopyright",     S_CRIGHT " Apache Software Foundation. All rights reserved.\0"
69            }
70#else
71            block "040904E4"
72            {
73                // International StringTable
74                value "CompanyName",        "Apache Software Foundation\0"
75                value "FileDescription",    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
76                value "FileVersion",        PPS(VER_LEVEL) "\0"
77                value "ProductVersion",     PPS(VER_LEVEL) "\0"
78                value "OriginalFilename",   PPS(RES_APP_NAME) ".exe\0"
79                value "InternalName",       PPS(RES_APP_NAME) "\0"
80                value "LegalCopyright",     S_CRIGHT " Apache Software Foundation. All rights reserved.\0"
81            }
82#endif
83        }
84
85        block "VarFileInfo"
86        {
87#ifdef LG_D
88            value "Translation", 0x0407, 1252
89#else
90            value "Translation", 0x0409, 1252
91#endif
92        }
93    }
94