From: Adam Dickmeiss Date: Tue, 27 Oct 2015 14:40:03 +0000 (+0100) Subject: Prepare to bundle VC 2015 Runtime 14.0.23026 X-Git-Tag: v5.14.12~10 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=a4a4e9d375bfbcc823e8b3820ffb23272e919004;p=yaz-moved-to-github.git Prepare to bundle VC 2015 Runtime 14.0.23026 --- diff --git a/win/yaz.nsi b/win/yaz.nsi index eaf68d8..9d923e6 100644 --- a/win/yaz.nsi +++ b/win/yaz.nsi @@ -7,7 +7,6 @@ !include "MUI.nsh" -!define VS_REDIST_EXE vcredist_${VSARCH}.exe !define VS_REDIST_FULL "c:\Program Files (x86)\Microsoft Visual Studio ${VSVER}.0\VC\redist\1033\${VS_REDIST_EXE}" ; For example can be found with regedit: @@ -18,6 +17,8 @@ !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\6E8D947A316B3EB3F8F540C548BE2AB9" !endif !if "${VSVER}" = "14" +; Microsoft Visual C++ 2015 x86 Minimum Runtime - 14.0.23026 +!define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\55E3652ACEB38283D8765E8E9B8E6B57" !endif InstallDir "$PROGRAMFILES64\YAZ" @@ -27,8 +28,17 @@ InstallDir "$PROGRAMFILES64\YAZ" !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\21EE4A31AE32173319EEFE3BD6FDFFE3" !endif !if "${VSVER}" = "14" +; Microsoft Visual C++ 2015 x64 Minimum Runtime - 14.0.23026 +!define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\51E9E3D0A7EDB003691F4BFA219B4688" !endif +!if "${VSVER}" = "14" +!define VS_REDIST_EXE vc_redist.${VSARCH}.exe +!else +!define VS_REDIST_EXE vcredist_${VSARCH}.exe +!endif + + InstallDir "$PROGRAMFILES\YAZ" !endif