Improved help screen + fixed minor bug in get_executable_path() function.
[setup-launcher.git] / resources.rc
blobeb3c3da79a424512b360ad1eeb8466bf17bc001f
1 /* ---------------------------------------------------------------------------------------------- */
2 /* Setup Bootstrapper Utility                                                                     */
3 /* Copyright(c) 2016-2020 LoRd_MuldeR <mulder2@gmx.de>                                            */
4 /*                                                                                                */
5 /* Permission is hereby granted, free of charge, to any person obtaining a copy of this software  */
6 /* and associated documentation files (the "Software"), to deal in the Software without           */
7 /* restriction, including without limitation the rights to use, copy, modify, merge, publish,     */
8 /* distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the  */
9 /* Software is furnished to do so, subject to the following conditions:                           */
10 /*                                                                                                */
11 /* The above copyright notice and this permission notice shall be included in all copies or       */
12 /* substantial portions of the Software.                                                          */
13 /*                                                                                                */
14 /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING  */
15 /* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND     */
16 /* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   */
17 /* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, */
18 /* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.        */
19 /* ---------------------------------------------------------------------------------------------- */
21 #if !defined(BUILD_EXE) && !defined(BUILD_DLL)
22 #error Nothing to do!
23 #endif
24 #if defined(BUILD_EXE) && defined(BUILD_DLL)
25 #error Inconsistent build flags!
26 #endif
27 #if !defined(BUILD_DATE_F) || !defined(BUILD_DATE_Y) || !defined(BUILD_DATE_M) || !defined(BUILD_DATE_D)
28 #error Build date is not defined!
29 #endif
31 #include "WinResrc.h"
33 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
34 #ifdef _WIN32
35 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
36 #pragma code_page(1252)
37 #endif //_WIN32
39 #define _STRINGIFY(X) #X
40 #define STRINGIFY(X) _STRINGIFY(X)
42 #define IDI_ICON1 101
44 /////////////////////////////////////////////////////////////////////////////
45 // Icons
46 IDI_ICON1 ICON "setup.ico"
48 /////////////////////////////////////////////////////////////////////////////
49 // Version
51 VS_VERSION_INFO VERSIONINFO
52   FILEVERSION    1,BUILD_DATE_Y,BUILD_DATE_M,BUILD_DATE_D
53   PRODUCTVERSION 1,BUILD_DATE_Y,BUILD_DATE_M,BUILD_DATE_D
54   FILEFLAGSMASK 0x17L
55 #ifdef _DEBUG
56   FILEFLAGS 0x1L
57 #else
58   FILEFLAGS 0x0L
59 #endif
60   FILEOS 0x40004L
61 #ifdef BUILD_EXE
62   FILETYPE 0x1L
63 #else
64   FILETYPE 0x2L
65 #endif
66   FILESUBTYPE 0x0L
67 BEGIN
68     BLOCK "StringFileInfo"
69     BEGIN
70         BLOCK "000004b0"
71         BEGIN
72             VALUE "ProductName",      "Setup Bootstrapper"
73 #ifdef BUILD_EXE
74             VALUE "FileDescription",  "Setup Bootstrapper [EXE]"
75 #else
76             VALUE "FileDescription",  "Setup Bootstrapper [DLL]"
77 #endif
78             VALUE "FileVersion",      STRINGIFY(BUILD_DATE_F)
79             VALUE "ProductVersion",   STRINGIFY(BUILD_DATE_F)
80             VALUE "InternalName",     "setup-launcher"
81 #ifdef BUILD_EXE
82             VALUE "OriginalFilename", "setup-launcher.exe"
83 #else
84             VALUE "OriginalFilename", "setup-launcher.dll"
85 #endif
86             VALUE "CompanyName",      "Muldersoft"
87             VALUE "LegalCopyright",   "Copyright(c) 2016-2020 LoRd_MuldeR <mulder2@gmx.de>"
88             VALUE "LegalTrademarks",  "Setup Bootstrapper"
89             VALUE "Comments",         "This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY"
90         END
91     END
92     BLOCK "VarFileInfo"
93     BEGIN
94         VALUE "Translation", 0x0, 1200
95     END
96 END
98 #endif    // Neutral resources
99 /////////////////////////////////////////////////////////////////////////////