Archive: Program Shortcuts & Multi Users


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 ?


SetShellVarContext all


@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