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