mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
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>
This commit is contained in:
parent
856e10ddb2
commit
ffd3b8591d
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue