Windows: Change check for vcredist YAZ-848
[yaz-moved-to-github.git] / win / yaz.win32.nsi
index 15c3843..c0a6c00 100644 (file)
@@ -1,6 +1,7 @@
-; YAZ for Windows 32 bit, VS 2008
-!define VS_RUNTIME_DLL      "c:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\msvc*90.dll"
-!define VS_RUNTIME_MANIFEST "c:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest"
+; YAZ for Windows 32 bit, VS 2015
+!define VS_REDIST_EXE "vcredist_x86.exe"
+!define VS_REDIST_FULL "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\1033\${VS_REDIST_EXE}"
+!define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\21EE4A31AE32173319EEFE3BD6FDFFE3"
 
 InstallDir "$PROGRAMFILES\YAZ"