projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3bf1d3
)
nsis: Add start menu entries for Zadig.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 9 Aug 2015 15:25:49 +0000
(17:25 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 9 Aug 2015 15:25:49 +0000
(17:25 +0200)
This fixes bug #542.
contrib/pulseview_cross.nsi
patch
|
blob
|
history
diff --git
a/contrib/pulseview_cross.nsi
b/contrib/pulseview_cross.nsi
index ed2f317158ce5a9737616cb8732dc6e94545c252..a550d50bc066066eabc058a6b2d38392a2ba97c4 100644
(file)
--- a/
contrib/pulseview_cross.nsi
+++ b/
contrib/pulseview_cross.nsi
@@
-167,6
+167,16
@@
Section "PulseView (required)" Section1
"$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 \
SW_SHOWNORMAL "" "Uninstall PulseView"
"$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 \
SW_SHOWNORMAL "" "Uninstall PulseView"
+ # Create a shortcut for the Zadig executable.
+ CreateShortCut "$SMPROGRAMS\sigrok\PulseView\Zadig.lnk" \
+ "$INSTDIR\zadig.exe" "" "$INSTDIR\zadig.exe" 0 \
+ SW_SHOWNORMAL "" "Zadig"
+
+ # Create a shortcut for the Zadig executable (for Win XP).
+ CreateShortCut "$SMPROGRAMS\sigrok\PulseView\Zadig (Win XP).lnk" \
+ "$INSTDIR\zadig_xp.exe" "" "$INSTDIR\zadig_xp.exe" 0 \
+ SW_SHOWNORMAL "" "Zadig (Win XP)"
+
# Create registry keys for "Add/remove programs" in the control panel.
WriteRegStr HKLM "${REGSTR}" "DisplayName" "PulseView"
WriteRegStr HKLM "${REGSTR}" "UninstallString" \
# Create registry keys for "Add/remove programs" in the control panel.
WriteRegStr HKLM "${REGSTR}" "DisplayName" "PulseView"
WriteRegStr HKLM "${REGSTR}" "UninstallString" \
@@
-227,6
+237,8
@@
Section "Uninstall"
# Delete the links from the start menu.
Delete "$SMPROGRAMS\sigrok\PulseView\PulseView.lnk"
Delete "$SMPROGRAMS\sigrok\PulseView\Uninstall.lnk"
# Delete the links from the start menu.
Delete "$SMPROGRAMS\sigrok\PulseView\PulseView.lnk"
Delete "$SMPROGRAMS\sigrok\PulseView\Uninstall.lnk"
+ Delete "$SMPROGRAMS\sigrok\PulseView\Zadig.lnk"
+ Delete "$SMPROGRAMS\sigrok\PulseView\Zadig (Win XP).lnk"
# Delete the sub-directory in the start menu.
RMDir "$SMPROGRAMS\sigrok\PulseView"
# Delete the sub-directory in the start menu.
RMDir "$SMPROGRAMS\sigrok\PulseView"