From: Uwe Hermann Date: Sun, 5 Jan 2014 10:42:34 +0000 (+0100) Subject: nsis: Install zadig (used for driver switching). X-Git-Tag: sigrok-cli-0.5.0~50 X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=commitdiff_plain;h=7d8068f88f58f3998a9c74956e385a1e906001e8 nsis: Install zadig (used for driver switching). --- diff --git a/contrib/sigrok-cli_cross.nsi.in b/contrib/sigrok-cli_cross.nsi.in index c8c2f79..402327c 100644 --- a/contrib/sigrok-cli_cross.nsi.in +++ b/contrib/sigrok-cli_cross.nsi.in @@ -137,6 +137,10 @@ Section "@PACKAGE_NAME@ (required)" Section1 # libusb0.dll (needed for libusb-0.1). File "${CROSS}/libusb0.dll" + # Zadig (used for installing libusb-win32 and WinUSB drivers). + File "${CROSS}/zadig.exe" + File "${CROSS}/zadig_xp.exe" + # Install the file(s) specified below into the specified directory. SetOutPath "$INSTDIR\decoders" @@ -227,6 +231,8 @@ Section "Uninstall" Delete "$INSTDIR\COPYING" Delete "$INSTDIR\@PACKAGE_NAME@.exe" Delete "$INSTDIR\libusb0.dll" + Delete "$INSTDIR\zadig.exe" + Delete "$INSTDIR\zadig_xp.exe" # Delete all decoders and everything else in decoders/. # There could be *.pyc files or __pycache__ subdirs and so on.