Merge pull request #2412 from owncloud/nsis_shortcuts_all_users

Install shortcuts for all users
This commit is contained in:
Daniel Molkentin 2014-11-15 20:09:29 +01:00
commit 6f78ff200c

View file

@ -508,7 +508,9 @@ SectionGroup $SectionGroup_Shortcuts
SetDetailsPrint textonly
DetailPrint $OPTION_SECTION_SC_DESKTOP_DetailPrint
SetDetailsPrint listonly
SetShellVarContext all
CreateShortCut "$DESKTOP\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
SetShellVarContext current
${MementoSectionEnd}
!endif
@ -517,8 +519,10 @@ SectionGroup $SectionGroup_Shortcuts
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint $OPTION_SECTION_SC_QUICK_LAUNCH_DetailPrint
SetShellVarContext all
SetDetailsPrint listonly
CreateShortCut "$QUICKLAUNCH\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
SetShellVarContext current
${MementoSectionEnd}
!endif