projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4097c5
)
nsis: Also put firmware files into the installer.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 1 Jan 2014 19:06:24 +0000
(20:06 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 1 Jan 2014 19:13:44 +0000
(20:13 +0100)
contrib/pulseview_cross.nsi
patch
|
blob
|
history
diff --git
a/contrib/pulseview_cross.nsi
b/contrib/pulseview_cross.nsi
index 1d1b0f1a8e5d6b531a02ba0000ed9e0f83a6138b..d59b47872d9754f7dbf90fade8e188c78422ce0c 100644
(file)
--- 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/*"
# 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"
# 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\*"
# 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"
# Delete the install directory and its sub-directories.
RMDir "$INSTDIR\decoders"
+ RMDir "$INSTDIR\firmware"
RMDir "$INSTDIR"
# Delete the links from the start menu.
RMDir "$INSTDIR"
# Delete the links from the start menu.