]> sigrok.org Git - pulseview.git/blobdiff - contrib/pulseview_cross.nsi
mingw: Drop libusb0.dll, always use libusb-1.0.
[pulseview.git] / contrib / pulseview_cross.nsi
index c674be794480d767a1029697b1b47829ce2f1f06..ed2f317158ce5a9737616cb8732dc6e94545c252 100644 (file)
@@ -38,7 +38,7 @@
 Name "PulseView"
 
 # Filename of the installer executable.
 Name "PulseView"
 
 # Filename of the installer executable.
-OutFile "pulseview-0.1.0-installer.exe"
+OutFile "pulseview-0.2.0-installer.exe"
 
 # Where to install the application.
 InstallDir "$PROGRAMFILES\sigrok\PulseView"
 
 # Where to install the application.
 InstallDir "$PROGRAMFILES\sigrok\PulseView"
@@ -128,10 +128,7 @@ Section "PulseView (required)" Section1
        # PulseView (statically linked, includes all libs).
        File "${CROSS}/bin/pulseview.exe"
 
        # PulseView (statically linked, includes all libs).
        File "${CROSS}/bin/pulseview.exe"
 
-       # libusb0.dll (needed for libusb-0.1).
-       File "${CROSS}/libusb0.dll"
-
-       # Zadig (used for installing libusb-win32 and WinUSB drivers).
+       # Zadig (used for installing WinUSB drivers).
        File "${CROSS}/zadig.exe"
        File "${CROSS}/zadig_xp.exe"
 
        File "${CROSS}/zadig.exe"
        File "${CROSS}/zadig_xp.exe"
 
@@ -183,7 +180,7 @@ Section "PulseView (required)" Section1
        WriteRegStr HKLM "${REGSTR}" "URLUpdateInfo" \
                "http://sigrok.org/wiki/Downloads"
        WriteRegStr HKLM "${REGSTR}" "URLInfoAbout" "http://sigrok.org"
        WriteRegStr HKLM "${REGSTR}" "URLUpdateInfo" \
                "http://sigrok.org/wiki/Downloads"
        WriteRegStr HKLM "${REGSTR}" "URLInfoAbout" "http://sigrok.org"
-       WriteRegStr HKLM "${REGSTR}" "DisplayVersion" "0.1.0"
+       WriteRegStr HKLM "${REGSTR}" "DisplayVersion" "0.2.0"
        WriteRegStr HKLM "${REGSTR}" "Contact" \
                "sigrok-devel@lists.sourceforge.org"
        WriteRegStr HKLM "${REGSTR}" "Comments" \
        WriteRegStr HKLM "${REGSTR}" "Contact" \
                "sigrok-devel@lists.sourceforge.org"
        WriteRegStr HKLM "${REGSTR}" "Comments" \
@@ -206,7 +203,6 @@ Section "Uninstall"
        # Delete the application, the application data, and related libs.
        Delete "$INSTDIR\COPYING"
        Delete "$INSTDIR\pulseview.exe"
        # Delete the application, the application data, and related libs.
        Delete "$INSTDIR\COPYING"
        Delete "$INSTDIR\pulseview.exe"
-       Delete "$INSTDIR\libusb0.dll"
        Delete "$INSTDIR\zadig.exe"
        Delete "$INSTDIR\zadig_xp.exe"
        Delete "$INSTDIR\python32.dll"
        Delete "$INSTDIR\zadig.exe"
        Delete "$INSTDIR\zadig_xp.exe"
        Delete "$INSTDIR\python32.dll"