Add Install Arduino Drivers section to installer

This commit is contained in:
Arjen Hiemstra 2015-09-03 10:16:13 -07:00
parent b610f276d9
commit b0fa51692e

View File

@ -111,19 +111,19 @@ Section "Install Visual Studio 2010 Redistributable"
SectionEnd
;Section "Install Arduino Drivers"
; ; Set output path to the driver directory.
; SetOutPath "$INSTDIR\drivers\"
; File /r "drivers\"
;
; ${If} ${RunningX64}
; IfSilent +2
; ExecWait '"$INSTDIR\drivers\dpinst64.exe" /lm'
; ${Else}
; IfSilent +2
; ExecWait '"$INSTDIR\drivers\dpinst32.exe" /lm'
; ${EndIf}
;SectionEnd
Section "Install Arduino Drivers"
; Set output path to the driver directory.
SetOutPath "$INSTDIR\drivers\"
File /r "drivers\"
${If} ${RunningX64}
IfSilent +2
ExecWait '"$INSTDIR\drivers\dpinst64.exe" /lm'
${Else}
IfSilent +2
ExecWait '"$INSTDIR\drivers\dpinst32.exe" /lm'
${EndIf}
SectionEnd
Section "Open STL files with Cura"
WriteRegStr HKCR .stl "" "Cura STL model file"