]> sigrok.org Git - pulseview.git/commitdiff
nsis: Install libusb0.dll with the application.
authorUwe Hermann <redacted>
Sun, 5 Jan 2014 00:42:39 +0000 (01:42 +0100)
committerUwe Hermann <redacted>
Sun, 5 Jan 2014 00:42:39 +0000 (01:42 +0100)
This is half of the solution for bug #241.

contrib/pulseview_cross.nsi

index 16675125c5e84793b58b2b5d812d4e0871895b10..09d9643377e6c1c707971bb84cc8c304d129c060 100644 (file)
@@ -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.