Skip to content
⌘ NSIS Forum Archive

Program Shortcuts & Multi Users

3 posts

Guest#

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 ?
Guest#
@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