X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=contrib%2Fsigrok-cli_cross.nsi.in;h=402327c3f71a26de0e2594b9b617bc0e92e5d422;hb=39aedc34ab864e95a395558f8b8d4be3beb11371;hp=91680d49d9dd9857b728e9c7a7e0864ff86b1f21;hpb=bb26e3fcc95e0e7bf4db8eebf151f8234e388699;p=sigrok-cli.git diff --git a/contrib/sigrok-cli_cross.nsi.in b/contrib/sigrok-cli_cross.nsi.in index 91680d4..402327c 100644 --- a/contrib/sigrok-cli_cross.nsi.in +++ b/contrib/sigrok-cli_cross.nsi.in @@ -134,6 +134,13 @@ Section "@PACKAGE_NAME@ (required)" Section1 # sigrok-cli. File "${CROSS}/bin/@PACKAGE_NAME@.exe" + # 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" @@ -223,6 +230,9 @@ Section "Uninstall" # Delete the application, the application data, and related libs. 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.