Skip to content
⌘ NSIS Forum Archive

Installing to the all users directory

3 posts

Elementl#

Installing to the all users directory

I'm trying to install to the all users directory under Win2K/WinXP.
I looked through the manual/FAQ and found nothing on this.
Can anyone make any recommendations on how to obtain the path of the all users directory?

Thanks,
Elementl
kichik#
SetShellVarContext all 
That should do it. Have a look at the documentation about SetShellVarContext for more information (http://nsis.sourceforge.net/Docs/Chapter3.html#3.8.7.2).
Elementl#
Awesome. Just read that in the manual. Hah. Just when you think you read the manual..

Thanks,
Elementl

Originally posted by kichik
SetShellVarContext all 
That should do it. Have a look at the documentation about SetShellVarContext for more information (http://nsis.sourceforge.net/Docs/Chapter3.html#3.8.7.2).