nsis: Install zadig (used for driver switching).
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 5 Jan 2014 10:42:34 +0000 (11:42 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Sun, 5 Jan 2014 10:42:34 +0000 (11:42 +0100)
contrib/sigrok-cli_cross.nsi.in

index c8c2f7998d667f66af7603c45da9b941c0f61d6d..402327c3f71a26de0e2594b9b617bc0e92e5d422 100644 (file)
@@ -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.