X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=contrib%2Fpulseview_cross.nsi;h=d59b47872d9754f7dbf90fade8e188c78422ce0c;hp=1d1b0f1a8e5d6b531a02ba0000ed9e0f83a6138b;hb=d8823c8cc5eb8539ec4dc087539f531fea421429;hpb=f4097c595629a6b189373eb1e1957f55c345779c diff --git a/contrib/pulseview_cross.nsi b/contrib/pulseview_cross.nsi index 1d1b0f1a..d59b4787 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. + File /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.