add information about using SetShellVarContext in both installer and uninstaller (bug #1349810)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4414 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-11-24 12:18:23 +00:00
parent 9214f1a563
commit 2a70ad3052

View file

@ -67,6 +67,8 @@ Sets the error level of the installer or uninstaller to \e{error_level}. See \R{
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. The all users folder may not be supported on all OSes. If the all users folder is not found, the current user folder will be used. Please take into consideration that a "normal user" has no rights to write in the all users area. Only admins have full access rights to the all users area. You can check this by using the UserInfo plug-in. See Contrib\\UserInfo\\UserInfo.nsi for an example.
Note that, if used in installer code, this will only affect the installer, and if used in uninstaller code, this will only affect the uninstaller. To affect both, it needs to be used in both.
\c SetShellVarContext current
\c StrCpy $0 $DESKTOP
\c SetShellVarContext all