diff options
author | Grant Williamson <grant.williamson@gmail.com> | 2012-03-07 10:43:08 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-03-07 10:43:56 +0100 |
commit | 2766a6d776dc4f79a11d19a0e82079f84b424faf (patch) | |
tree | b4e1cdd30c9e9c3616d3121d44b26273e75dec2d /driver.nsh | |
parent | 0971841c1be32e927ee06e084e60985023dfe5d5 (diff) |
Handle "driver is already installed" pnputil error
Diffstat (limited to 'driver.nsh')
-rw-r--r-- | driver.nsh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -111,6 +111,7 @@ lbl_pnputil: Pop $0 StrCmp $0 "error" lbl_pnputil_not_found StrCmp $0 "timeout" lbl_pnputil_timeout + IntCmp $0 "1" lbl_pnputil_already_exists IntCmp $0 0 lbl_done DetailPrint "pnputil.exe reported an error: $0" Goto lbl_nodriver @@ -120,6 +121,9 @@ lbl_pnputil_not_found: lbl_pnputil_timeout: DetailPrint "timeout waiting for pnputil.exe to run" Goto lbl_nodriver +lbl_pnputil_already_exists: + DetailPrint "Driver does not need upgraded" + Goto lbl_nodriver lbl_nodriver: lbl_done: |