aboutsummaryrefslogtreecommitdiff
path: root/src/Samples/bafunctions/bafunctions.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Samples/bafunctions/bafunctions.rc')
-rw-r--r--src/Samples/bafunctions/bafunctions.rc118
1 files changed, 0 insertions, 118 deletions
diff --git a/src/Samples/bafunctions/bafunctions.rc b/src/Samples/bafunctions/bafunctions.rc
deleted file mode 100644
index 9643d240..00000000
--- a/src/Samples/bafunctions/bafunctions.rc
+++ /dev/null
@@ -1,118 +0,0 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3#include <winver.h>
4#include <windows.h>
5#include "bafunctionsver.h"
6
7#define VER_APP
8#define VER_ORIGINAL_FILENAME "bafunctions.dll"
9#define VER_INTERNAL_NAME "bafunctions"
10#define VER_PRODUCT_NAME "WiX Sample BAFunctions"
11#define VER_FILE_DESCRIPTION "WiX Sample BAFunctions"
12
13#ifdef DEBUG
14 #define VER_DEBUG VS_FF_DEBUG
15 #define VER_PRIVATE_BUILD VS_FF_PRIVATEBUILD
16 #define VER_PRE_RELEASE (VS_FF_PRERELEASE | VS_FF_SPECIALBUILD)
17#else
18 #define VER_DEBUG 0
19 #define VER_PRIVATE_BUILD 0
20 #define VER_PRE_RELEASE 0
21#endif
22
23#if defined(VER_APP)
24 #define VER_FILE_TYPE VFT_APP
25#elif defined(VER_DLL)
26 #define VER_FILE_TYPE VFT_DLL
27#elif defined(VER_TYPELIB)
28 #define VER_FILE_TYPE VFT_UNKNOWN
29#else
30 #define VER_FILE_TYPE VFT_UNKNOWN
31#endif
32
33#if defined(VER_LANG_NEUTRAL)
34 #ifndef VER_LANG
35 #define VER_LANG 0x0000
36 #endif
37 #ifndef VER_CP
38 #define VER_CP 0x04E4
39 #endif
40 #ifndef VER_BLOCK
41 #define VER_BLOCK "000004E4"
42 #endif
43#else
44 #ifndef VER_LANG
45 #define VER_LANG 0x0409
46 #endif
47 #ifndef VER_CP
48 #define VER_CP 0x04E4
49 #endif
50 #ifndef VER_BLOCK
51 #define VER_BLOCK "040904E4"
52 #endif
53#endif
54
55#define VER_FILE_VERSION rmj, rmm, rbd, rev
56#define VER_PRODUCT_VERSION rmj, rmm, rbd, rev
57#define VER_FILE_VERSION_STRING szVerMajorMinorBuildRev
58#define VER_PRODUCT_VERSION_STRING VER_FILE_VERSION_STRING
59#define VER_FILE_FLAGS_MASK VS_FFI_FILEFLAGSMASK
60#define VER_FILE_FLAGS (VER_DEBUG | VER_PRIVATE_BUILD | VER_PRE_RELEASE)
61
62#define VER_FILE_OS VOS__WINDOWS32
63
64#define VER_COMPANY_NAME ".NET Foundation"
65#ifndef VER_PRODUCT_NAME
66 #define VER_PRODUCT_NAME "Windows Installer XML (WiX)"
67#endif
68#ifndef VER_FILE_DESCRIPTION
69 #define VER_FILE_DESCRIPTION "Windows Installer XML (WiX) component"
70#endif
71
72#if defined(VER_LEGAL_COPYRIGHT)
73 #error
74#endif
75#define VER_LEGAL_COPYRIGHT "Copyright (c) .NET Foundation and contributors.\240 All rights reserved."
76
77#if !defined(VER_FILE_SUBTYPE)
78 #define VER_FILE_SUBTYPE 0
79#endif
80
81#ifdef RC_INVOKED
82
83VS_VERSION_INFO VERSIONINFO
84FILEVERSION VER_FILE_VERSION
85PRODUCTVERSION VER_PRODUCT_VERSION
86FILEFLAGSMASK VER_FILE_FLAGS_MASK
87FILEFLAGS VER_FILE_FLAGS
88FILEOS VER_FILE_OS
89FILETYPE VER_FILE_TYPE
90FILESUBTYPE VER_FILE_SUBTYPE
91BEGIN
92BLOCK "StringFileInfo"
93 BEGIN
94 BLOCK VER_BLOCK
95 BEGIN
96 VALUE "CompanyName", VER_COMPANY_NAME
97 VALUE "FileDescription", VER_FILE_DESCRIPTION
98 VALUE "FileVersion", VER_FILE_VERSION_STRING
99 VALUE "InternalName", VER_INTERNAL_NAME
100
101 VALUE "LegalCopyright", VER_LEGAL_COPYRIGHT
102
103 VALUE "OriginalFilename", VER_ORIGINAL_FILENAME
104 VALUE "ProductName", VER_PRODUCT_NAME
105 VALUE "ProductVersion", VER_FILE_VERSION_STRING
106#if defined(DEBUG)
107 VALUE "WiX Common Resource Format", "Debug Only"
108#endif
109 END
110 END
111
112BLOCK "VarFileInfo"
113 BEGIN
114 VALUE "Translation", VER_LANG, VER_CP
115 END
116END
117
118#endif