diff options
author | Arjen Hiemstra <a.hiemstra@ultimaker.com> | 2015-09-03 20:16:13 +0300 |
---|---|---|
committer | Arjen Hiemstra <a.hiemstra@ultimaker.com> | 2015-09-03 20:16:13 +0300 |
commit | b0fa51692e42df6f756ebb00a45112060c1e5acc (patch) | |
tree | 0c5e6d547a4c0675a532c9de00744ed2aa9ff0c4 /installer.nsi | |
parent | b610f276d96b3f9a5d8236f2fdbde255a16ddf2e (diff) |
Add Install Arduino Drivers section to installer
Diffstat (limited to 'installer.nsi')
-rw-r--r-- | installer.nsi | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/installer.nsi b/installer.nsi index 037d7b3233..0a2a4874a7 100644 --- a/installer.nsi +++ b/installer.nsi @@ -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" |