Skip to content
⌘ NSIS Forum Archive

How to install for "All Users" under W2K?

3 posts

Zaraza#

How to install for "All Users" under W2K?

I tried creating a simple NSIS script and create my shortcuts using $DESKTOP, etc.

It works fine, but creates them under the current user (in this case the Administrator). When I re-login under a different user name my app is not available (i.e. all the shortcuts are not visible).

In order to fix this I had to manually move all the shortcuts from the Administrator's folders to the "All Users" folder.

How can I tell NSIS to use "All Users" by default when adding shortcuts to the Desktop, Startup and Programs? (i.e. $DESKTOP, $SMSTARTUP and $SMPROGRAMS should point to the "All Users" folders, not the current user).

Thanks in advance for any help.
bkolt#
Look at Justin's reply in
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


Don't forget to create the directory first.