From 976a4190a3b3c6f2e37a90c8405768532107ca6a Mon Sep 17 00:00:00 2001 From: Martijn Kaijser Date: Sat, 12 Dec 2015 11:36:10 +0100 Subject: [win32] add VS2015 redist files to installer --- project/Win32BuildSetup/genNsisInstaller.nsi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'project/Win32BuildSetup/genNsisInstaller.nsi') diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi index a3e2ac2c3d..ccd74513fd 100644 --- a/project/Win32BuildSetup/genNsisInstaller.nsi +++ b/project/Win32BuildSetup/genNsisInstaller.nsi @@ -398,6 +398,17 @@ DetailPrint "Running VS2013 re-distributable setup..." SetOutPath "$INSTDIR" SectionEnd +Section "VS2015 C++ re-distributable Package (x86)" SEC_VCREDIST4 +DetailPrint "Running VS2015 re-distributable setup..." + SectionIn 1 2 #section is in install type Full + SetOutPath "$TEMP\vc2015" + File "${app_root}\..\dependencies\vcredist\2015\vcredist_x86.exe" + ExecWait '"$TEMP\vc2015\vcredist_x86.exe" /q' $VSRedistSetupError + RMDir /r "$TEMP\vc2015" + DetailPrint "Finished VS2015 re-distributable setup" + SetOutPath "$INSTDIR" +SectionEnd + SectionGroupEnd Function .onInit -- cgit v1.2.3