From 09803ff16c89d22077b0f7ee546163f6b98dcfb2 Mon Sep 17 00:00:00 2001 From: defnax Date: Sun, 13 Jan 2008 14:21:48 +0000 Subject: [PATCH] added Quicklaunch Shortcut git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@290 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/retroshare.nsi | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/retroshare.nsi b/retroshare-gui/src/retroshare.nsi index 7294d332c..c04275083 100644 --- a/retroshare-gui/src/retroshare.nsi +++ b/retroshare-gui/src/retroshare.nsi @@ -63,7 +63,7 @@ Section "RetroShare Data" Section1b ; Set Section Files and Shortcuts SetOutPath "$APPDATA\RetroShare\" - File /r "data\*" + ;File /r "data\*" ; We're not ready for external skins... ; Set Section qss @@ -98,13 +98,20 @@ Section "Start Menu Shortcuts" section3 SectionEnd -Section "Desktop Shortcuts" section4 +Section "Desktop Shortcut" section4 CreateShortCut "$DESKTOP\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0 SectionEnd -Section "Automatic Startup" section5 +Section "Quicklaunch Shortcut" section5 + + CreateShortCut "$QUICKLAUNCH\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0 + +SectionEnd + + +Section "Automatic Startup" section6 WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "RetroRun" "$INSTDIR\${APPNAME}.exe -a"