[X2Go-Commits] [pyhoca-gui] 66/71: CVix: make sure SetOutPath gets called at the beginning of each section
git-admin at x2go.org
git-admin at x2go.org
Thu Mar 20 00:32:44 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch cvix/2.x
in repository pyhoca-gui.
commit 0d0b224caf8cb0b43aefa182b6649361e26ba261
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Feb 21 00:21:02 2014 +0100
CVix: make sure SetOutPath gets called at the beginning of each section
---
CVix_nsis_template.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CVix_nsis_template.py b/CVix_nsis_template.py
index 1a0b77f..a5b9858 100644
--- a/CVix_nsis_template.py
+++ b/CVix_nsis_template.py
@@ -279,6 +279,7 @@ SectionEnd
; Optional section (can be disabled by the user)
Section "$STARTMENU_LINKS"
+ SetOutPath "$INSTDIR"
CreateDirectory "$SMPROGRAMS\\{program_name}"
CreateShortCut "$SMPROGRAMS\\{program_name}\\{program_name}.lnk" "$INSTDIR\\{program_name}.exe" "" "$INSTDIR\\icons\\{program_name}.ico" 0
CreateShortCut "$SMPROGRAMS\\{program_name}\\Uninstall.lnk" "$INSTDIR\\uninstall.exe" "" "$INSTDIR\\uninstall.exe" 0
@@ -288,6 +289,7 @@ SectionEnd
; Optional section (can be disabled by the user)
Section "$DESKTOP_LINKS"
+ SetOutPath "$INSTDIR"
CreateShortCut "$DESKTOP\\{program_name}.lnk" "$INSTDIR\\{program_name}.exe" "" "$INSTDIR\\icons\\{program_name}.ico" 0
SectionEnd
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
More information about the x2go-commits
mailing list