Old 16th November 2011, 16:39   #1
Captain83
Junior Member
 
Join Date: Nov 2011
Posts: 7
Desktop-Symbols

Hello,

i have written an installer with NSIS.
The installer makes desktop-shortcuts by using the $desktop - constant.
My problem is that the shortcuts are in the user-specific desktop-folder. But i need them in the public desktop folder.
Can anyone tell me a solution for that problem?
Captain83 is offline   Reply With Quote
Old 16th November 2011, 17:27   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
It's all in the manual. Please read the item about the $DESKTOP variable: http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3
MSG is offline   Reply With Quote
Old 16th November 2011, 18:32   #3
Captain83
Junior Member
 
Join Date: Nov 2011
Posts: 7
That's where i got the idea of using the desktop-constant. But i can't find anything about if it's for a special user desktop or the public desktop.
Isn't there a way?
Captain83 is offline   Reply With Quote
Old 16th November 2011, 21:28   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Sounds like you are confusing all users with 'public'. Read the description for $DESKTOP again.

Stu
Afrow UK is offline   Reply With Quote
Old 17th November 2011, 06:58   #5
Captain83
Junior Member
 
Join Date: Nov 2011
Posts: 7
ahhh so you mean the setShellVarContext

very great
thanks a lot
Captain83 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump