Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Program Shortcuts & Multi Users (http://forums.winamp.com/showthread.php?t=200638)

pedro56 30th November 2004 01:12

Program Shortcuts & Multi Users
 
Problem getting shortcut to program exe in Start\Programs.

Section Shortcuts
SetOutPath "$INSTDIR\"
CreateDirectory "$SMPROGRAMS\MyProgram"
CreateShortCut "$SMPROGRAMS\MyProgram\MyProgram.lnk" "$INSTDIR\MyProgram.exe" "" "$INSTDIR\MyProgram.exe" 0


Also the program is only installed in current user profile and not All Users.

Any solutions ?

bluenet 30th November 2004 01:45

SetShellVarContext all

pedro56 30th November 2004 05:08

@bluenet
Thanks
Put SetShellVarContext all in sections and worked. I fixed the Start menu shortcut problem. It was a conflict with URL having same .lnk name.

Cheers


All times are GMT. The time now is 04:27.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.