summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-02-27 22:11:12 +0000
committerDarkvater <darkvater@openttd.org>2007-02-27 22:11:12 +0000
commiteb1af4a65eb15660792154a3772c0f04dbad8029 (patch)
tree78c1b96d06931c83b9686fa43b625f73464e3a4f /os
parent61a4f434d76a4c6425040da5cfee1caca2777410 (diff)
downloadopenttd-eb1af4a65eb15660792154a3772c0f04dbad8029.tar.xz
(svn r8929) -Codechange: [win32] Give the installer a slightly more verbose link at the final screen and also copy any heightmaps to the desination directory.
Diffstat (limited to 'os')
-rw-r--r--os/win32/installer/install.nsi8
1 files changed, 7 insertions, 1 deletions
diff --git a/os/win32/installer/install.nsi b/os/win32/installer/install.nsi
index 40bf4f44d..47c111265 100644
--- a/os/win32/installer/install.nsi
+++ b/os/win32/installer/install.nsi
@@ -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}bin\scenario\*.scn
+ ; Copy heightmap files (don't choke if they don't exist)
+ SetOutPath "$INSTDIR\scenario\heightmap\"
+ File /nonfatal ${PATH_ROOT}bin\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: