sublime999
14th March 2008 16:58 UTC
quicklaunch and sendto (all users)
hello i am trying to create a global shortcut for the quicklaunch toolbar and the right click send to menu.
i need these for all users, not just the current user.
i tried:
SetShellVarContext all
;Quick Launch icon
CreateShortCut "$QUICKLAUNCH\My app Tool.lnk" "$INSTDIR\myapp.exe"
CreateShortCut "$SENDTO\My app.lnk" "$INSTDIR\myapp.exe"
but this only creates the links for the current (admin) user.
is it possible to make these for all users.
thanks
Anders
14th March 2008 17:04 UTC
there is no all users folder for these, the best you can do is to enum all users and create a shortcut in each users folder
http://nsis.sourceforge.net/EnumUsersReg (you need to be admin to do this)
sublime999
14th March 2008 17:07 UTC
thank you for your response. you have saved me hours of searching.
is it possible to add a shortcut to an all users desktop?
Red Wine
14th March 2008 18:18 UTC
is it possible to add a shortcut to an all users desktop?
Same way as you wrote above , SetShellVarContext all