1
0
Fork 0

(svn r8930) [0.5] -Backport from trunk (r8929):

- [win32] Installer update (r8929)
release/0.5
Darkvater 2007-02-27 22:13:15 +00:00
parent 01e3d92118
commit e925f8b2c3
1 changed files with 7 additions and 1 deletions

View File

@ -76,7 +76,7 @@ Page custom SelectCDEnter SelectCDExit ": TTD folder"
Page custom ShowWarningsPage
!define MUI_FINISHPAGE_RUN "$INSTDIR\openttd.exe"
!define MUI_FINISHPAGE_LINK "Visit OpenTTD's homepage"
!define MUI_FINISHPAGE_LINK "Visit the OpenTTD site for latest news, FAQs and downloads"
!define MUI_FINISHPAGE_LINK_LOCATION "${APPURLLINK}"
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt"
@ -114,6 +114,10 @@ Section "!OpenTTD" Section1
SetOutPath "$INSTDIR\scenario\"
File /nonfatal ${PATH_ROOT}scenario\*.scn
; Copy heightmap files (don't choke if they don't exist)
SetOutPath "$INSTDIR\scenario\heightmap\"
File /nonfatal ${PATH_ROOT}scenario\heightmap\*.*
; Copy the rest of the stuff
SetOutPath "$INSTDIR\"
@ -214,6 +218,8 @@ Section "Uninstall"
If you choose Yes, your scenarios will be deleted." \
IDYES RemoveScen IDNO NoRemoveScen
RemoveScen:
Delete "$INSTDIR\scenario\heightmap*"
RMDir "$INSTDIR\scenario\heightmap"
Delete "$INSTDIR\scenario\*"
RMDir "$INSTDIR\scenario"
NoRemoveScen: