Skip to content
⌘ NSIS Forum Archive

Start menu

3 posts

DragonSoull#

Start menu

How do I install the start menu shortcuts in the all user start menu so all users can use my app and not just the user ho installed it?
Sunjammer#
Correct me if I'm wrong

Would you be able to use 'SetShellVarContext all' for this?
The docs don't say if $STARTMENU is affected by SetShellVarContext, but I would imagine so considering that $SMPROGRAMS and $SMSTARTUP are both affected.

I guess you'd do the following (but I haven't tried this) :-

SetShellVarContext all
CreateShortCut $SMPROGRAMS/AppName/LinkName.lnk MyAppPath\App.Exe

---

Ximon Eighteen
Programmer @ Advent Publishing Systems
email: ximon_eighteen@3b2.com
& msn: ximon_eighteen@hotmail.com
Guest#
Check this out!

It includes a check whether "All users" exist and asks for the folder to which the shortcuts need to be installed. Just take the one you like: the one of pjw62 (using ExDlg) or mine (using InstOpts). Read the thread for more info.

-Hendri.