From: Uwe Hermann Date: Sun, 5 Jan 2014 10:44:18 +0000 (+0100) Subject: nsis: Install zadig (used for driver switching). X-Git-Tag: pulseview-0.2.0~161 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=488983533133d3e81f8611ffe4db94e406679403;p=pulseview.git nsis: Install zadig (used for driver switching). --- diff --git a/contrib/pulseview_cross.nsi b/contrib/pulseview_cross.nsi index 09d96433..78fa0c41 100644 --- a/contrib/pulseview_cross.nsi +++ b/contrib/pulseview_cross.nsi @@ -137,6 +137,10 @@ Section "PulseView (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" @@ -221,6 +225,8 @@ Section "Uninstall" Delete "$INSTDIR\COPYING" Delete "$INSTDIR\pulseview.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.