src/jdk.packager/windows/native/jpackager/javapackager.rc
branchJDK-8200758-branch
changeset 56982 e094d5483bd6
parent 56963 eaca4369b068
child 56983 01decb67d4f0
equal deleted inserted replaced
56963:eaca4369b068 56982:e094d5483bd6
     1 /*
       
     2  * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
       
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4  *
       
     5  * This code is free software; you can redistribute it and/or modify it
       
     6  * under the terms of the GNU General Public License version 2 only, as
       
     7  * published by the Free Software Foundation.  Oracle designates this
       
     8  * particular file as subject to the "Classpath" exception as provided
       
     9  * by Oracle in the LICENSE file that accompanied this code.
       
    10  *
       
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
       
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14  * version 2 for more details (a copy is included in the LICENSE file that
       
    15  * accompanied this code).
       
    16  *
       
    17  * You should have received a copy of the GNU General Public License version
       
    18  * 2 along with this work; if not, write to the Free Software Foundation,
       
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20  *
       
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    22  * or visit www.oracle.com if you need additional information or have any
       
    23  * questions.
       
    24  */
       
    25 
       
    26 #include "windows.h"
       
    27 
       
    28 // Need 2 defines so macro argument to XSTR will get expanded before quoting.
       
    29 #define XSTR(x) STR(x)
       
    30 #define STR(x)  #x
       
    31 
       
    32 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
       
    33 
       
    34 /////////////////////////////////////////////////////////////////////////////
       
    35 //
       
    36 // Version
       
    37 //
       
    38 
       
    39 VS_VERSION_INFO VERSIONINFO
       
    40  FILEVERSION    JFX_FVER
       
    41  PRODUCTVERSION JFX_FVER
       
    42  FILEFLAGSMASK 0x3fL
       
    43 #ifdef _DEBUG
       
    44  FILEFLAGS 0x1L
       
    45 #else
       
    46  FILEFLAGS 0x0L
       
    47 #endif
       
    48  // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
       
    49  FILEOS 0x4L
       
    50  // FILETYPE should be 0x1 for .exe and 0x2 for .dll
       
    51  FILETYPE 0x1L
       
    52  FILESUBTYPE 0x0L
       
    53 BEGIN
       
    54     BLOCK "StringFileInfo"
       
    55     BEGIN
       
    56         BLOCK "000004b0"
       
    57         BEGIN
       
    58             VALUE "CompanyName",      XSTR(JFX_COMPANY)        "\0"
       
    59             VALUE "FileDescription",  XSTR(JFX_COMPONENT)      "\0"
       
    60             VALUE "FileVersion",      XSTR(JFX_VER)            "\0"
       
    61             VALUE "Full Version",     XSTR(JFX_BUILD_ID)       "\0"
       
    62             VALUE "InternalName",     XSTR(JFX_INTERNAL_NAME)  "\0"
       
    63             VALUE "LegalCopyright",   XSTR(JFX_COPYRIGHT)      "\0"
       
    64             VALUE "OriginalFilename", XSTR(JFX_FNAME)          "\0"
       
    65             VALUE "ProductName",      XSTR(JFX_NAME)           "\0"
       
    66             VALUE "ProductVersion",   XSTR(JFX_VER)            "\0"
       
    67         END
       
    68     END
       
    69     BLOCK "VarFileInfo"
       
    70     BEGIN
       
    71         VALUE "Translation", 0x0, 1200
       
    72     END
       
    73 END
       
    74 
       
    75 
       
    76 #define MANIFEST_RESOURCE_ID 1
       
    77 
       
    78 // Manifest
       
    79 //
       
    80 
       
    81 MANIFEST_RESOURCE_ID RT_MANIFEST "javapackager.manifest"
       
    82