summaryrefslogtreecommitdiff
path: root/Build/NullSoftInstaller.hs
diff options
context:
space:
mode:
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"