From 02e96484a8ecba7ba772a75432e35cc457444232 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Mon, 27 Oct 2014 12:25:48 -0400 Subject: [PATCH] Install shortcuts for all users --- cmake/modules/NSIS.template.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/modules/NSIS.template.in b/cmake/modules/NSIS.template.in index 77d396ca8..16ef69c51 100644 --- a/cmake/modules/NSIS.template.in +++ b/cmake/modules/NSIS.template.in @@ -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