Archive: Start menu shortcut for all users


Start menu shortcut for all users
Hy! I want to make after installing an application, to make in Start menu a folder with shortcuts to my application, but I want them to be available for all the users, not only for the one who instaled the aplication.

Now I'm doing like this:


CreateDirectory "$SMPROGRAMS\MyApp"
CreateShortCut "$SMPROGRAMS\MyApp\MyApp.lnk" "$INSTDIR\MyApp.exe"
CreateShortCut "$SMPROGRAMS\MyApp\Website.lnk" "http://www.MyApp.com"
CreateShortCut "$SMPROGRAMS\MyApp\Uninstall.lnk" "$INSTDIR\uninstall.exe"


wich is working just fine, but not puting the shortcut for all the users. Anyone know if or how can this be done?

I just found! Damn it! :P. Sorry for posting :D