1/*************************************************************************** 2 * _ _ ____ _ 3 * Project ___| | | | _ \| | 4 * / __| | | | |_) | | 5 * | (__| |_| | _ <| |___ 6 * \___|\___/|_| \_\_____| 7 * 8 * Copyright (C) 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 * SPDX-License-Identifier: curl 22 * 23 ***************************************************************************/ 24#include <winver.h> 25#include "tool_version.h" 26 27LANGUAGE 0, 0 28 29#define RC_VERSION CURL_VERSION_MAJOR, CURL_VERSION_MINOR, CURL_VERSION_PATCH, 0 30 31VS_VERSION_INFO VERSIONINFO 32 FILEVERSION RC_VERSION 33 PRODUCTVERSION RC_VERSION 34 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 35#if defined(DEBUGBUILD) || defined(UNITTESTS) || defined(CURLDEBUG) || defined(_DEBUG) 36 FILEFLAGS VS_FF_DEBUG 37#else 38 FILEFLAGS 0L 39#endif 40 FILEOS VOS__WINDOWS32 41 FILETYPE VFT_APP 42 FILESUBTYPE 0L 43 44BEGIN 45 BLOCK "StringFileInfo" 46 BEGIN 47 BLOCK "040904b0" 48 BEGIN 49 VALUE "CompanyName", "curl, https://curl.se/\0" 50 VALUE "FileDescription", "The curl executable\0" 51 VALUE "FileVersion", CURL_VERSION "\0" 52 VALUE "InternalName", "curl\0" 53 VALUE "OriginalFilename", "curl.exe\0" 54 VALUE "ProductName", "The curl executable\0" 55 VALUE "ProductVersion", CURL_VERSION "\0" 56 VALUE "LegalCopyright", "Copyright (C) " CURL_COPYRIGHT "\0" 57 VALUE "License", "https://curl.se/docs/copyright.html\0" 58 END 59 END 60 61 BLOCK "VarFileInfo" 62 BEGIN 63 VALUE "Translation", 0x409, 1200 64 END 65END 66 67/* Manifest */ 68 69#if defined(CURL_EMBED_MANIFEST) 70 71/* String escaping rules: 72 https://msdn.microsoft.com/library/aa381050 73 Application Manifest doc, including the list of 'supportedOS Id's: 74 https://msdn.microsoft.com/library/aa374191 */ 75 76#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID 77#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 78#endif 79#ifndef RT_MANIFEST 80#define RT_MANIFEST 24 81#endif 82 83#define _STR(macro) _STR_(macro) 84#define _STR_(macro) #macro 85 86CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST 87BEGIN 88 "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>" 89 "<assembly xmlns=""urn:schemas-microsoft-com:asm.v1"" manifestVersion=""1.0"">" 90 "<assemblyIdentity name=""The curl executable"" version=""" 91 _STR(LIBCURL_VERSION_MAJOR) "." 92 _STR(LIBCURL_VERSION_MINOR) "." 93 _STR(LIBCURL_VERSION_PATCH) ".0"" type=""win32""/>" 94 "<compatibility xmlns=""urn:schemas-microsoft-com:compatibility.v1"">" 95 "<application>" 96 "<supportedOS Id=""{e2011457-1546-43c5-a5fe-008deee3d3f0}""/>" /* Vista / Server 2008 */ 97 "<supportedOS Id=""{35138b9a-5d96-4fbd-8e2d-a2440225f93a}""/>" /* 7 / Server 2008 R2 */ 98 "<supportedOS Id=""{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}""/>" /* 8 / Server 2012 */ 99 "<supportedOS Id=""{1f676c76-80e1-4239-95bb-83d0f6d0da78}""/>" /* 8.1 / Server 2012 R2 */ 100 "<supportedOS Id=""{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}""/>" /* 10 / Server 2016 */ 101 "</application>" 102 "</compatibility>" 103 "<trustInfo xmlns=""urn:schemas-microsoft-com:asm.v3"">" 104 "<security>" 105 "<requestedPrivileges>" 106 "<requestedExecutionLevel level=""asInvoker"" uiAccess=""false""/>" 107 "</requestedPrivileges>" 108 "</security>" 109 "</trustInfo>" 110 "</assembly>" 111END 112 113#endif 114