summaryrefslogtreecommitdiff
path: root/os/windows/installer
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-03 22:10:17 +0000
committeryexo <yexo@openttd.org>2010-01-03 22:10:17 +0000
commit33e48c63b861fab002e72f81f0987dfeebe664d0 (patch)
tree5b80c231c9b15e5ad2034654d559c32ce3247e58 /os/windows/installer
parente9325f69fbab16e4bee0dfba017babc4b691b470 (diff)
downloadopenttd-33e48c63b861fab002e72f81f0987dfeebe664d0.tar.xz
(svn r18706) -Cleanup: remove docs/Manual.txt and docs/OSX_install_instructions.txt, the contents of those are already in readme.txt and they were outdated.
Add docs/obm_format.txt and docs/obs_format.txt to Makefile.bundle Add several documentation files to the windows installer
Diffstat (limited to 'os/windows/installer')
-rw-r--r--os/windows/installer/install.nsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/os/windows/installer/install.nsi b/os/windows/installer/install.nsi
index eb51bc41a..5c05cc3f8 100644
--- a/os/windows/installer/install.nsi
+++ b/os/windows/installer/install.nsi
@@ -131,6 +131,14 @@ Section "!OpenTTD" Section1
SetOutPath "$INSTDIR\scripts\"
File ${PATH_ROOT}bin\scripts\*.*
+ ; Copy some documention files
+ SetOutPath "$INSTDIR\docs\"
+ File ${PATH_ROOT}docs\obg_format.txt
+ File ${PATH_ROOT}docs\obm_format.txt
+ File ${PATH_ROOT}docs\obs_format.txt
+ File ${PATH_ROOT}docs\multiplayer.txt
+ File ${PATH_ROOT}docs\32bpp.txt
+
; Copy the rest of the stuff
SetOutPath "$INSTDIR\"
@@ -401,6 +409,9 @@ Section "Uninstall"
; Scripts
Delete "$INSTDIR\scripts\*.*"
+ ; Documentation
+ Delete "$INSTDIR\docs\*.*"
+
; Base sets for music
Delete "$INSTDIR\gm\orig_win.obm"
Delete "$INSTDIR\gm\no_music.obm"
@@ -413,6 +424,7 @@ Section "Uninstall"
RMDir "$INSTDIR\gm"
RMDir "$INSTDIR\lang"
RMDir "$INSTDIR\scripts"
+ RMDir "$INSTDIR\docs"
RMDir "$INSTDIR"
SectionEnd