1 /*
   2  * Copyright (c) 2011, 2013, 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_VERSION
  41  PRODUCTVERSION JFX_VERSION
  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",      "Oracle Corporation\0"       "\0"
  59             VALUE "FileDescription",  "JavaFX(TM) Packager\0"
  60             VALUE "InternalName",     "javapackager\0"
  61             VALUE "LegalCopyright",   "Copyright 2014\0"     "\0"
  62             VALUE "OriginalFilename", "javapackager.exe\0"
  63             VALUE "ProductName",      "JavaFX(TM) Runtime\0"          "\0"
  64             VALUE "ProductVersion",   XSTR(JFX_DVERSION)           "\0"
  65         END
  66     END
  67     BLOCK "VarFileInfo"
  68     BEGIN
  69         VALUE "Translation", 0x0, 1200
  70     END
  71 END
  72 
  73 
  74 #define MANIFEST_RESOURCE_ID 1
  75 
  76 // Manifest
  77 //
  78 
  79 MANIFEST_RESOURCE_ID RT_MANIFEST "javapackager.manifest"
  80