1/*************************************************************************** 2 * _ _ ____ _ 3 * Project ___| | | | _ \| | 4 * / __| | | | |_) | | 5 * | (__| |_| | _ <| |___ 6 * \___|\___/|_| \_\_____| 7 * 8 * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. 9 * 10 * This software is licensed as described in the file COPYING, which 11 * you should have received as part of this distribution. The terms 12 * are also available at https://curl.se/docs/copyright.html. 13 * 14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell 15 * copies of the Software, and permit persons to whom the Software is 16 * furnished to do so, under the terms of the COPYING file. 17 * 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 19 * KIND, either express or implied. 20 * 21 ***************************************************************************/ 22#include <winver.h> 23#include "tool_version.h" 24 25LANGUAGE 0, 0 26 27#define RC_VERSION CURL_VERSION_MAJOR, CURL_VERSION_MINOR, CURL_VERSION_PATCH, 0 28 29VS_VERSION_INFO VERSIONINFO 30 FILEVERSION RC_VERSION 31 PRODUCTVERSION RC_VERSION 32 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 33#if defined(DEBUGBUILD) || defined(_DEBUG) 34 FILEFLAGS VS_FF_DEBUG 35#else 36 FILEFLAGS 0L 37#endif 38 FILEOS VOS__WINDOWS32 39 FILETYPE VFT_APP 40 FILESUBTYPE 0L 41 42BEGIN 43 BLOCK "StringFileInfo" 44 BEGIN 45 BLOCK "040904b0" 46 BEGIN 47 VALUE "CompanyName", "curl, https://curl.se/\0" 48 VALUE "FileDescription", "The curl executable\0" 49 VALUE "FileVersion", CURL_VERSION "\0" 50 VALUE "InternalName", "curl\0" 51 VALUE "OriginalFilename", "curl.exe\0" 52 VALUE "ProductName", "The curl executable\0" 53 VALUE "ProductVersion", CURL_VERSION "\0" 54 VALUE "LegalCopyright", "\xa9 " CURL_COPYRIGHT "\0" /* a9: Copyright symbol */ 55 VALUE "License", "https://curl.se/docs/copyright.html\0" 56 END 57 END 58 59 BLOCK "VarFileInfo" 60 BEGIN 61 VALUE "Translation", 0x409, 1200 62 END 63END 64 65/* Manifest */ 66 67#if defined(CURL_EMBED_MANIFEST) 68 69/* String escaping rules: 70 https://msdn.microsoft.com/library/aa381050 71 Application Manifest doc, including the list of 'supportedOS Id's: 72 https://msdn.microsoft.com/library/aa374191 */ 73 74#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID 75#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 76#endif 77#ifndef RT_MANIFEST 78#define RT_MANIFEST 24 79#endif 80 81#define _STR(macro) _STR_(macro) 82#define _STR_(macro) #macro 83 84CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST 85BEGIN 86 "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>" 87 "<assembly xmlns=""urn:schemas-microsoft-com:asm.v1"" manifestVersion=""1.0"">" 88 "<assemblyIdentity name=""The curl executable"" version=""" 89 _STR(LIBCURL_VERSION_MAJOR) "." 90 _STR(LIBCURL_VERSION_MINOR) "." 91 _STR(LIBCURL_VERSION_PATCH) ".0"" type=""win32""/>" 92 "<compatibility xmlns=""urn:schemas-microsoft-com:compatibility.v1"">" 93 "<application>" 94 "<supportedOS Id=""{e2011457-1546-43c5-a5fe-008deee3d3f0}""/>" /* Vista / Server 2008 */ 95 "<supportedOS Id=""{35138b9a-5d96-4fbd-8e2d-a2440225f93a}""/>" /* 7 / Server 2008 R2 */ 96 "<supportedOS Id=""{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}""/>" /* 8 / Server 2012 */ 97 "<supportedOS Id=""{1f676c76-80e1-4239-95bb-83d0f6d0da78}""/>" /* 8.1 / Server 2012 R2 */ 98 "<supportedOS Id=""{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}""/>" /* 10 / Server 2016 */ 99 "</application>" 100 "</compatibility>" 101 "<trustInfo xmlns=""urn:schemas-microsoft-com:asm.v3"">" 102 "<security>" 103 "<requestedPrivileges>" 104 "<requestedExecutionLevel level=""asInvoker"" uiAccess=""false""/>" 105 "</requestedPrivileges>" 106 "</security>" 107 "</trustInfo>" 108 "</assembly>" 109END 110 111#endif 112