Include VCRedist and add an option to run it during install

Fixes Asana issue 34145139570660
This commit is contained in:
Arjen Hiemstra 2015-06-09 05:23:37 -07:00
parent 5019a157a1
commit da6b7c272c

View File

@ -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\"