X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=contrib%2Fpulseview_cross.nsi;h=7e9dd923c5d1f5ed1383bce086abb3075999b22d;hp=09d9643377e6c1c707971bb84cc8c304d129c060;hb=77243b3e8c8a8b3c7742d4d4064ea236d1d81496;hpb=538111a5f4733a602ec77ebe086d8d026e53d123 diff --git a/contrib/pulseview_cross.nsi b/contrib/pulseview_cross.nsi index 09d96433..7e9dd923 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" @@ -157,6 +161,7 @@ Section "PulseView (required)" Section1 CreateDirectory "$SMPROGRAMS\sigrok\PulseView" # Create a shortcut for the PulseView application. + SetOutPath "$INSTDIR" CreateShortCut "$SMPROGRAMS\sigrok\PulseView\PulseView.lnk" \ "$INSTDIR\pulseview.exe" "" "$INSTDIR\pulseview.exe" \ 0 SW_SHOWNORMAL \ @@ -221,6 +226,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.