diff --git a/install.pri b/install.pri
index 5367ed788..83753294f 100644
--- a/install.pri
+++ b/install.pri
@@ -68,12 +68,12 @@ INSTALLS += dbus_target dbus_config_target
############### Install VC runtime ##############
-win32-msvc2013 {
+win32-msvc2015 {
equals(WORD_SIZE,64) {
- vc_redist_target.files *= $$(VS120COMNTOOLS)../../VC/redist/1033/vcredist_x64.exe
+ vc_redist_target.files *= $$(VS140COMNTOOLS)../../VC/redist/1033/vcredist_x64.exe
}
equals(WORD_SIZE,32) {
- vc_redist_target.files *= $$(VS120COMNTOOLS)../../VC/redist/1033/vcredist_x86.exe
+ vc_redist_target.files *= $$(VS140COMNTOOLS)../../VC/redist/1033/vcredist_x86.exe
}
vc_redist_target.path *= $${PREFIX}/vcredist
INSTALLS += vc_redist_target
diff --git a/installer/installbuilder/vcredist.xml b/installer/installbuilder/vcredist.xml
index fc315c9b8..c216ff108 100644
--- a/installer/installbuilder/vcredist.xml
+++ b/installer/installbuilder/vcredist.xml
@@ -6,42 +6,42 @@
1
- bin
+ vcredist
${installdir}/vcredist
- share_windows
+ vcredist
windows
- ${installdir}/vcredist_x86.exe
+ ${installdir}/vcredist/vcredist_x86.exe
/install /quiet /norestart
- Installing VC++ 2013 runtime
+ Installing VC++ 2015 32 Bit Runtime
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0\VC\Runtimes\x86
- exists
+ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86
+ does_not_exist
Installed
REG_DWORD
32
- ${installdir}/vcredist_x86.exe
+ ${installdir}/vcredist/vcredist_x86.exe
- ${installdir}/vcredist_x64.exe
+ ${installdir}/vcredist/vcredist_x64.exe
/install /quiet /norestart
- Installing VC++ 2013 runtime
+ Installing VC++ 2015 64 Bit Runtime
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0\VC\Runtimes\x64
- exists
+ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64
+ does_not_exist
Installed
REG_DWORD
64
- ${installdir}/vcredist_x64.exe
+ ${installdir}/vcredist/vcredist_x64.exe