1) Fixed #1103 (installer does not remove shortcuts) by running installer as

admin which apparently is default in win7), and then setting SetSHellVarContext All
   to tell the installer that the shortcuts are in AllUser.
2) Moved images out of supertuxkart directory (otherwise the images will be installed
   with STK), added missing image.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-11-19 09:55:50 +00:00
parent 4b057e320b
commit a17db8d168
3 changed files with 6 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 519 KiB

After

Width:  |  Height:  |  Size: 519 KiB

View File

@ -26,6 +26,8 @@
Name "SuperTuxKart for Windows"
OutFile "supertuxkart.exe"
RequestExecutionLevel admin
;Default installation folder
InstallDir "$PROGRAMFILES\SuperTuxKart"
@ -39,8 +41,8 @@
!define MUI_ICON "SuperTuxKart\install.ico"
!define MUI_UNICON "SuperTuxKart\uninstall.ico"
!define MUI_HEADERIMAGE
!define MUI_WELCOMEFINISHPAGE_BITMAP "supertuxkart\stk_installer.bmp"
!define MUI_HEADERIMAGE_BITMAP "supertuxkart\logo_slim.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP "stk_installer.bmp"
!define MUI_HEADERIMAGE_BITMAP "logo_slim.bmp"
;!define MUI_TEXT_INSTALLING_SUBTITLE "Please vote for SuperTuxKart to become SourceForge's Project of the month at vote.supertuxkart.net"
;!define MUI_TEXT_FINISH_INFO_TEXT "Please vote for SuperTuxKart to become $\"Project of the Month$\" at vote.supertuxkart.net"
@ -110,11 +112,6 @@ FunctionEnd
!insertmacro MUI_LANGUAGE "English"
;--------------------------------
function ChangeFont
CreateFont $0 "$(^Font)" "20" "700"
SendMessage $mui.Line.Standard ${WM_SETFONT} $0 0
functionend
;Installer Sections
@ -168,8 +165,9 @@ Section "Uninstall"redist
Delete "$INSTDIR\Uninstall.exe"
RMDir "$INSTDIR"
SetShellVarContext all
;Remove start menuy items
;Remove start menu items
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"