From da6b7c272cebe17a2b2045106eef664416b116ed Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 9 Jun 2015 05:23:37 -0700 Subject: [PATCH] Include VCRedist and add an option to run it during install Fixes Asana issue 34145139570660 --- installer.nsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/installer.nsi b/installer.nsi index 5bd18a929b..1259aeba7a 100644 --- a/installer.nsi +++ b/installer.nsi @@ -99,6 +99,15 @@ Function LaunchLink Exec '"$WINDIR\explorer.exe" "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk"' FunctionEnd +Section "Install Visual Studio 2010 Redistributable" + SetOutPath "$INSTDIR" + File "vcredist_2010_x86.exe" + + IfSilent +2 + ExecWait '"$INSTDIR\vcredist_2010_x86.exe"' + +SectionEnd + ;Section "Install Arduino Drivers" ; ; Set output path to the driver directory. ; SetOutPath "$INSTDIR\drivers\"