[PATCH] subsurface.nsi: install program shortcuts for all users
Dirk Hohndel
dirk at hohndel.org
Mon Oct 8 14:27:17 PDT 2012
"Lubomir I. Ivanov" <neolit123 at gmail.com> writes:
> From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
>
> 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"
So this will install Subsurface for all users and address the issue I
mentioned earlier?
/D
> Specific to the Windows installer.
>
> Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
> ---
> packaging/windows/subsurface.nsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/packaging/windows/subsurface.nsi b/packaging/windows/subsurface.nsi
> index 74aad9f..7d896f1 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"
> --
> 1.7.11.msysgit.0
More information about the subsurface
mailing list