From: Uwe Hermann Date: Sun, 5 Jan 2014 00:42:39 +0000 (+0100) Subject: nsis: Install libusb0.dll with the application. X-Git-Tag: pulseview-0.2.0~162 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=538111a5f4733a602ec77ebe086d8d026e53d123;ds=sidebyside nsis: Install libusb0.dll with the application. This is half of the solution for bug #241. --- diff --git a/contrib/pulseview_cross.nsi b/contrib/pulseview_cross.nsi index 16675125..09d96433 100644 --- a/contrib/pulseview_cross.nsi +++ b/contrib/pulseview_cross.nsi @@ -134,6 +134,9 @@ Section "PulseView (required)" Section1 # PulseView (statically linked, includes all libs). File "${CROSS}/bin/pulseview.exe" + # libusb0.dll (needed for libusb-0.1). + File "${CROSS}/libusb0.dll" + # Install the file(s) specified below into the specified directory. SetOutPath "$INSTDIR\decoders" @@ -217,6 +220,7 @@ Section "Uninstall" # Delete the application, the application data, and related libs. Delete "$INSTDIR\COPYING" Delete "$INSTDIR\pulseview.exe" + Delete "$INSTDIR\libusb0.dll" # Delete all decoders and everything else in decoders/. # There could be *.pyc files or __pycache__ subdirs and so on.