chiark / gitweb /
Do not install drivers in silent mode.
authordaid <daid303@gmail.com>
Tue, 28 Oct 2014 15:51:09 +0000 (16:51 +0100)
committerdaid <daid303@gmail.com>
Tue, 28 Oct 2014 15:51:09 +0000 (16:51 +0100)
scripts/win32/installer.nsi

index 06dd0c6eebefcbce665868e253c0088d162b2c53..85b1680bfe45141b3681229c2d1714b7354c1dbe 100644 (file)
@@ -166,9 +166,11 @@ Section "Install Arduino Drivers"
   File /r "drivers\"
   
   ${If} ${RunningX64}
-    ExecWait '"$INSTDIR\drivers\dpinst64.exe" /lm'
+    IfSilent +2
+      ExecWait '"$INSTDIR\drivers\dpinst64.exe" /lm'
   ${Else}
-    ExecWait '"$INSTDIR\drivers\dpinst32.exe" /lm'
+    IfSilent +2
+      ExecWait '"$INSTDIR\drivers\dpinst32.exe" /lm'
   ${EndIf}
 SectionEnd