Install shortcuts for all users, not only active user (since the installer is

running as admin, installing STK as a non-admin user would otherwise not create
the shortcut for the non-admin users, but only for the admin user).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2012-12-10 03:06:29 +00:00
parent 1a269ac4ac
commit e62cae9ad9

View File

@ -121,6 +121,7 @@ Section "Main Section" SecMain
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
;Create shortcuts
SetShellVarContext all
CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\uninstall.ico"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\supertuxkart.lnk" "$INSTDIR\supertuxkart.exe" "" "$INSTDIR\icon.ico"