summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-10-08 20:40:25 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-09 16:32:05 +0900
commitffd3b8591dcb4b22dc318b6a39bb4e2ac8140f42 (patch)
treec0bd4bedfd18f735766469c1daac9655ac64a8a2
parent856e10ddb27e6494eaa01b88f3ed3939e5258f21 (diff)
downloadsubsurface-ffd3b8591dcb4b22dc318b6a39bb4e2ac8140f42.tar.gz
subsurface.nsi: install program shortcuts for all users
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.7.7: "Sets the context of $SMPROGRAMS and other shell folders. If set to 'current' (the default), the current user's shell folders are used. If set to 'all', the 'all users' shell folder is used" Specific to the Windows installer. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--packaging/windows/subsurface.nsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/windows/subsurface.nsi b/packaging/windows/subsurface.nsi
index 74aad9fba..7d896f126 100644
--- a/packaging/windows/subsurface.nsi
+++ b/packaging/windows/subsurface.nsi
@@ -88,6 +88,7 @@
# Default installer section
Section
+ SetShellVarContext all
# Installation path
SetOutPath "$INSTDIR"
@@ -152,6 +153,7 @@ SectionEnd
# Uninstaller section
Section "Uninstall"
+ SetShellVarContext all
# Delete installed files
Delete "$INSTDIR\*.dll"