X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=contrib%2Fpulseview_cross.nsi.in;h=7c7638a201af36a5625b4abe4a8952d0f55db3f3;hp=576cfca63a527bebcc15d3e60f576dffae8217ee;hb=efdec55aec1a137460fa362a381ed1904182bfed;hpb=f9cb49cc90562631586cdb6a43810d9385863822 diff --git a/contrib/pulseview_cross.nsi.in b/contrib/pulseview_cross.nsi.in index 576cfca..7c7638a 100644 --- a/contrib/pulseview_cross.nsi.in +++ b/contrib/pulseview_cross.nsi.in @@ -14,8 +14,7 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## # @@ -132,13 +131,13 @@ Section "PulseView (required)" Section1 File "${CROSS}/python32.dll" File "${CROSS}/python32.zip" + SetOutPath "$INSTDIR\share" + # Protocol decoders. - SetOutPath "$INSTDIR\decoders" - File /r /x "__pycache__" "${CROSS}/share/libsigrokdecode/decoders/*" + File /r /x "__pycache__" /x "*.pyc" "${CROSS}/share/libsigrokdecode" # Firmware files. - SetOutPath "$INSTDIR\firmware" - File /r "${CROSS}/share/sigrok-firmware/*" + File /r "${CROSS}/share/sigrok-firmware" # Example *.sr files. SetOutPath "$INSTDIR\examples" @@ -214,19 +213,18 @@ Section "Uninstall" Delete "$INSTDIR\python32.dll" Delete "$INSTDIR\python32.zip" - # Delete all decoders and everything else in decoders/. + # Delete all decoders and everything else in libsigrokdecode/. # There could be *.pyc files or __pycache__ subdirs and so on. - RMDir /r "$INSTDIR\decoders\*" + RMDir /r "$INSTDIR\share\libsigrokdecode" # Delete the firmware files. - RMDir /r "$INSTDIR\firmware\*" + RMDir /r "$INSTDIR\share\sigrok-firmware" # Delete the example *.sr files. RMDir /r "$INSTDIR\examples\*" # Delete the install directory and its sub-directories. - RMDir "$INSTDIR\decoders" - RMDir "$INSTDIR\firmware" + RMDir "$INSTDIR\share" RMDir "$INSTDIR\examples" RMDir "$INSTDIR"