Skip to content

Commit

Permalink
let driver installation be silent
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bonani committed Mar 15, 2021
1 parent 0b82c38 commit 572e146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows/NSIS.template.in
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ Section "-Install the driver" InstDriver ; Hidden section -> always executed

${If} ${RunningX64}
DetailPrint $(STR_Drv_64bits)
ExecWait '"$INSTDIR\drivers\dpinst64.exe" /c /sa /lm /sw /PATH "$INSTDIR\drivers"' $0
ExecWait '"$INSTDIR\drivers\dpinst64.exe" /c /sa /lm /s /PATH "$INSTDIR\drivers"' $0
${Else}
DetailPrint $(STR_Drv_32bits)
ExecWait '"$INSTDIR\drivers\dpinst32.exe" /c /sa /lm /sw /PATH "$INSTDIR\drivers"' $0
ExecWait '"$INSTDIR\drivers\dpinst32.exe" /c /sa /lm /s /PATH "$INSTDIR\drivers"' $0
${EndIf}
DetailPrint "$(STR_Drv_Return_Code) $0"
IntCmpU $0 0x80000000 drv_error no_error drv_error
Expand Down

0 comments on commit 572e146

Please sign in to comment.