d18aa01027
2007/07/17 15:13:36 mh 1.9.740.1: update Version info in executables, #i79696#
162 lines
4.1 KiB
Text
162 lines
4.1 KiB
Text
/*************************************************************************
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: shlinfo.rc,v $
|
|
*
|
|
* $Revision: 1.10 $
|
|
*
|
|
* last change: $Author: obo $ $Date: 2007-07-18 14:58:24 $
|
|
*
|
|
* The Contents of this file are made available subject to
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
|
*
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
************************************************************************/
|
|
|
|
#define VERSION 2
|
|
#define SUBVERSION 3
|
|
#define VERVARIANT 0
|
|
|
|
// .0 + VER_CONCEPT
|
|
// .100 + VER_ALPHA
|
|
// .200 + VER_BETA
|
|
// .300 + VER_GAMMA
|
|
// .500 + VER_FINAL
|
|
//#define VER_CONCEPT 0
|
|
//#define VER_BETA 6
|
|
#define VER_FINAL 0
|
|
|
|
#define VER_DAY 1
|
|
#define VER_MONTH 9
|
|
#define VER_YEAR 2007
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
#if !defined(ENGLISH)
|
|
#define LG_D // generate always german version
|
|
#endif
|
|
|
|
#define VER_FIRSTYEAR VER_YEAR
|
|
|
|
#include <windows.h>
|
|
#include "verinfo.hrc"
|
|
|
|
#ifdef WIN32
|
|
#define FOR_WIN_X " (32 Bit)"
|
|
#else
|
|
#define FOR_WIN_X ""
|
|
#endif
|
|
|
|
// -----------------------------------------------------------------------
|
|
// language/character set specification table
|
|
// -----------------------------------------------------------------------
|
|
|
|
RCD_LANGUAGE rcdata
|
|
{
|
|
#ifdef LG_D
|
|
"040704B0", // Germany -> Unicode
|
|
"040704E4", // Germany -> Windows, Multilingual
|
|
#else
|
|
"040904B0", // Germany -> Unicode
|
|
"040904E4", // USA -> Windows, Multilingual
|
|
#endif
|
|
"04090000", // USA -> 7-Bit-ASCII
|
|
0 // end of table
|
|
}
|
|
|
|
// -----------------------------------------------------------------------
|
|
// version information
|
|
// -----------------------------------------------------------------------
|
|
|
|
VS_VERSION_INFO versioninfo
|
|
#ifndef SUBVERSION
|
|
fileversion VERSION, 0, 0, VERVARIANT
|
|
productversion VERSION, 0, 0, VERVARIANT
|
|
#else
|
|
fileversion VERSION, VERVARIANT, VER_COUNT
|
|
productversion VERSION, VERVARIANT, VER_COUNT
|
|
#endif
|
|
fileflagsmask 0x3F
|
|
fileflags
|
|
#if defined(DEBUG)
|
|
VS_FF_DEBUG |
|
|
#endif
|
|
#ifdef VER_PREL
|
|
VS_FF_PRERELEASE |
|
|
#endif
|
|
0
|
|
#ifndef WIN32
|
|
fileos VOS_DOS_WINDOWS16
|
|
#else
|
|
fileos VOS_NT_WINDOWS32
|
|
#endif
|
|
filetype VFT_APP
|
|
{
|
|
block "StringFileInfo"
|
|
{
|
|
#ifdef LG_D
|
|
block "040704E4"
|
|
{
|
|
// German StringTable
|
|
value "CompanyName", "Sun Microsystems, Inc.\0"
|
|
value "FileVersion", PPS(VER_LEVEL) "\0"
|
|
value "OriginalFilename", PPS(ORG_NAME) "\0"
|
|
value "InternalName", PPS(INTERNAL_NAME) "\0"
|
|
value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
|
|
ADDITIONAL_VERINFO1
|
|
ADDITIONAL_VERINFO2
|
|
ADDITIONAL_VERINFO3
|
|
}
|
|
#else
|
|
block "040904E4"
|
|
{
|
|
// International StringTable
|
|
value "CompanyName", "Sun Microsystems, Inc.\0"
|
|
value "FileVersion", PPS(VER_LEVEL) "\0"
|
|
value "OriginalFilename", PPS(ORG_NAME) "\0"
|
|
value "InternalName", PPS(INTERNAL_NAME) "\0"
|
|
value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
|
|
ADDITIONAL_VERINFO1
|
|
ADDITIONAL_VERINFO2
|
|
ADDITIONAL_VERINFO3
|
|
}
|
|
#endif
|
|
}
|
|
|
|
block "VarFileInfo"
|
|
{
|
|
#ifdef LG_D
|
|
value "Translation", 0x0407, 1252
|
|
#else
|
|
value "Translation", 0x0409, 1252
|
|
#endif
|
|
}
|
|
}
|
|
|
|
// version binary entry
|
|
VS_VERSION_INFO rcdata
|
|
{
|
|
0xF0, "sw", 0x0F, VER_YEAR, VER_MONTH, VER_DAY,
|
|
VERSION, VERVARIANT, VER_COUNT
|
|
};
|
|
|