Archive: How to install for "All Users" under W2K?


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.


Look at Justin's reply in
http://forums.winamp.com/showthread....ight=all+users

Don't forget to create the directory first.


Thanks, that should do very nicely.