PDA

View Full Version : Start menu


DragonSoull
11th June 2002, 12:09
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
11th June 2002, 13:09
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

Smile2Me
11th June 2002, 13:31
Check this (http://forums.winamp.com/showthread.php?s=&threadid=90218) 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.