Index: Installer/dxgl.nsi |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | !define PRODUCT_UNINST_ROOT_KEY "HKLM"
|
38 | 38 | !include "..\common\version.nsh"
|
39 | 39 |
|
40 | | -!if ${COMPILER} == "VC2019_0"
|
| 40 | +!if ${COMPILER} == "VC2019_1"
|
41 | 41 | !ifdef _DEBUG
|
42 | 42 | !define SRCDIR "Debug VS2019"
|
43 | 43 | !else
|
— | — | @@ -112,12 +112,12 @@ |
113 | 113 | !define runtime_regkey SOFTWARE\Microsoft\DevDiv\vc\Servicing\12.0\RuntimeMinimum
|
114 | 114 | !define runtime_regvalue Install
|
115 | 115 | !define PRODUCT_SUFFIX "-msvc12"
|
116 | | -!else if ${COMPILER} == "VC2019_0"
|
| 116 | +!else if ${COMPILER} == "VC2019_1"
|
117 | 117 | !define download_runtime 1
|
118 | | -!define runtime_url http://www.dxgl.org/download/runtimes/vc14.20/vc_redist.x86.exe
|
119 | | -!define runtime_name "Visual C++ 2019"
|
| 118 | +!define runtime_url http://www.dxgl.org/download/runtimes/vc14.21/vc_redist.x86.exe
|
| 119 | +!define runtime_name "Visual C++ 2019.1"
|
120 | 120 | !define runtime_filename "vc_redist.x86.exe"
|
121 | | -!define runtime_sha512 "A983C078823E6E80004FD472AAB02D5DDC4D8DC1600DB45F786695CD73CDE57405F3164E960E6CAB627F92AF2AAFAE0E97132A08E564D234F1166A49B88F0A13"
|
| 121 | +!define runtime_sha512 "2DE5956C1C55DE35B5863372BBC7C662F2840B03A9D4115FE14A9036BFAC334F415FFBB5E60AD3E59A79C755980216D8D54D027D1AA2E84BA5109B900C9E5629"
|
122 | 122 | !define runtime_regkey SOFTWARE\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum
|
123 | 123 | !define runtime_regvalue Install
|
124 | 124 | !define runtime_regvalue2 Version
|
— | — | @@ -259,7 +259,7 @@ |
260 | 260 |
|
261 | 261 |
|
262 | 262 | Function .onInit
|
263 | | - !if ${COMPILER} == "VC2019_0"
|
| 263 | + !if ${COMPILER} == "VC2019_1"
|
264 | 264 | dxgl-nsis::CheckSSE2 $0
|
265 | 265 | Pop $0
|
266 | 266 | ${If} $0 == "0"
|
— | — | @@ -312,12 +312,12 @@ |
313 | 313 | !else
|
314 | 314 | !if ${download_runtime} >= 1
|
315 | 315 | ReadRegDWORD $0 HKLM ${runtime_regkey} ${runtime_regvalue}
|
316 | | - !if ${COMPILER} == "VC2019_0"
|
| 316 | + !if ${COMPILER} == "VC2019_1"
|
317 | 317 | StrCmp $0 1 skipvcredist1
|
318 | 318 | goto vcinstall
|
319 | 319 | skipvcredist1:
|
320 | 320 | ReadRegDWORD $0 HKLM ${runtime_regkey} ${runtime_regvalue2}
|
321 | | - ${VersionCompare} "$0" "14.20.27508" $1
|
| 321 | + ${VersionCompare} "$0" "14.21.27702" $1
|
322 | 322 | ${If} $1 == 0
|
323 | 323 | goto skipvcredist
|
324 | 324 | ${EndIf}
|
— | — | @@ -427,7 +427,7 @@ |
428 | 428 |
|
429 | 429 | !if ${SIGNTOOL} == 1
|
430 | 430 | !finalize 'signtool sign /t http://timestamp.comodoca.com %1'
|
431 | | -!if ${COMPILER} == "VC2019_0"
|
| 431 | +!if ${COMPILER} == "VC2019_1"
|
432 | 432 | !finalize 'signtool sign /tr http://timestamp.comodoca.com /td sha256 /fd sha256 /as %1'
|
433 | 433 | !endif
|
434 | 434 | !endif |
\ No newline at end of file |
Index: buildtool/buildtool.c |
— | — | @@ -222,13 +222,13 @@ |
223 | 223 | strncpy(findptr, "\"VC2010\"\n", 13);
|
224 | 224 | #elif (_MSC_VER == 1800)
|
225 | 225 | strncpy(findptr, "\"VC2013\"\n", 13);
|
226 | | - #elif (_MSC_VER == 1920)
|
227 | | - strncpy(findptr, "\"VC2019_0\"\n", 13);
|
| 226 | + #elif (_MSC_VER == 1921)
|
| 227 | + strncpy(findptr, "\"VC2019_1\"\n", 13);
|
228 | 228 | #elif ((_MSC_VER > 1900) && (_MSC_VER < 1916))
|
229 | 229 | #error Please update your Visual Studio 2017 to version 2017.9 before continuing.
|
230 | | - #elif (_MSC_VER > 1920)
|
231 | | - #pragma message ("Detected a newer version of Visual Studio, compiling assuming 2019.0.")
|
232 | | - strncpy(findptr, "\"VC2019_0\"\n", 13);
|
| 230 | + #elif (_MSC_VER > 1921)
|
| 231 | + #pragma message ("Detected a newer version of Visual Studio, compiling assuming 2019.1.")
|
| 232 | + strncpy(findptr, "\"VC2019_1\"\n", 13);
|
233 | 233 | #else
|
234 | 234 | strncpy(findptr, "\"UNKNOWN\"\n", 13);
|
235 | 235 | #endif
|