summaryrefslogtreecommitdiff
path: root/Build/NullSoftInstaller.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-10 00:13:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-10 00:13:15 -0400
commit54d9f38db074ece312a4be51dd7c3c215dd43f92 (patch)
tree7a64909890b34d70355403dfae0375d41e99ed92 /Build/NullSoftInstaller.hs
parent43393092c4e4413c1dd42a044d7c2088548bb3bf (diff)
try to make a start menu shortcut
Diffstat (limited to 'Build/NullSoftInstaller.hs')
-rw-r--r--Build/NullSoftInstaller.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/NullSoftInstaller.hs b/Build/NullSoftInstaller.hs
index 427507b02..b6a8995d2 100644
--- a/Build/NullSoftInstaller.hs
+++ b/Build/NullSoftInstaller.hs
@@ -95,6 +95,17 @@ makeInstaller gitannex license extrafiles = nsis $ do
page Directory -- Pick where to install
page (License license)
page InstFiles -- Give a progress bar while installing
+ -- Start menu shortcut
+ createDirectory "$SMPROGRAMS"
+ createShortcut "$SMPROGRAMS/git-annex.lnk"
+ [ Target "$INSTDIR/git-annex.exe"
+ , Parameter "webapp"
+ , IconFile "$INSTDIR/git-annex.exe"
+ , IconIndex 2
+ , StartOptions "SW_SHOWNORMAL"
+ , KeyboardShortcut "ALT|CONTROL|a"
+ , Description "git-annex"
+ ]
-- Groups of files to install
section "main" [] $ do
setOutPath "$INSTDIR"