X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=contrib%2Fpulseview_cross.nsi;h=81de6dec06d19b89a63fd35530a0bc762c7ff81e;hb=b730cc8b9c123f6ae5345d56a612c266167a2a1d;hp=1d1b0f1a8e5d6b531a02ba0000ed9e0f83a6138b;hpb=f4097c595629a6b189373eb1e1957f55c345779c;p=pulseview.git diff --git a/contrib/pulseview_cross.nsi b/contrib/pulseview_cross.nsi index 1d1b0f1..81de6de 100644 --- a/contrib/pulseview_cross.nsi +++ b/contrib/pulseview_cross.nsi @@ -140,6 +140,12 @@ Section "PulseView (required)" Section1 # Protocol decoders. File /r /x "__pycache__" "${CROSS}/share/libsigrokdecode/decoders/*" + # Install the file(s) specified below into the specified directory. + SetOutPath "$INSTDIR\firmware" + + # Firmware files. + File /r "${CROSS}/share/sigrok-firmware/*" + # Generate the uninstaller executable. WriteUninstaller "$INSTDIR\Uninstall.exe" @@ -216,8 +222,12 @@ Section "Uninstall" # There could be *.pyc files or __pycache__ subdirs and so on. RMDir /r "$INSTDIR\decoders\*" + # Delete the firmware files. + RMDir /r "$INSTDIR\firmware\*" + # Delete the install directory and its sub-directories. RMDir "$INSTDIR\decoders" + RMDir "$INSTDIR\firmware" RMDir "$INSTDIR" # Delete the links from the start menu.