summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-03-21 18:29:30 +0100
committerMichael Lutz <michi@icosahedron.de>2018-06-05 22:58:35 +0200
commite7ce4901552fec70520523440cec27722935d3ae (patch)
tree542f6957a57007c53e241beaed1561096f39d041 /os
parent5de26288623c6c9fb09fe70596fa5557fbee5198 (diff)
downloadopenttd-e7ce4901552fec70520523440cec27722935d3ae.tar.xz
Update: Install DOS music data in Windows installer
Diffstat (limited to 'os')
-rw-r--r--os/windows/installer/install.nsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/windows/installer/install.nsi b/os/windows/installer/install.nsi
index cb93d4d04..2c4c6f94b 100644
--- a/os/windows/installer/install.nsi
+++ b/os/windows/installer/install.nsi
@@ -304,6 +304,7 @@ Section /o "Copy data from Transport Tycoon Deluxe CD-ROM" Section2
; Let's copy the files with size approximation
SetOutPath "$INSTDIR\baseset"
CopyFiles "$CDDRIVE\gm\*.gm" "$INSTDIR\baseset\" 1028
+ CopyFiles "$CDDRIVE\gm.cat" "$INSTDIR\baseset\gm.cat" 415
CopyFiles "$CDDRIVE\sample.cat" "$INSTDIR\baseset\sample.cat" 1566
; Copy Windows files
CopyFiles "$CDDRIVE\trg1r.grf" "$INSTDIR\baseset\trg1r.grf" 2365
@@ -426,6 +427,8 @@ Section "Uninstall"
Delete "$INSTDIR\baseset\trgt.grf"
Delete "$INSTDIR\baseset\trgc.grf"
Delete "$INSTDIR\baseset\trgi.grf"
+ Delete "$INSTDIR\baseset\gm.cat"
+ Delete "$INSTDIR\baseset\gm-tto.cat"
Delete "$INSTDIR\baseset\*.gm"
Delete "$INSTDIR\data\sample.cat"
@@ -467,8 +470,10 @@ Section "Uninstall"
; Base sets for music
Delete "$INSTDIR\gm\orig_win.obm"
+ Delete "$INSTDIR\gm\orig_dos.obm"
Delete "$INSTDIR\gm\no_music.obm"
Delete "$INSTDIR\baseset\orig_win.obm"
+ Delete "$INSTDIR\baseset\orig_dos.obm"
Delete "$INSTDIR\baseset\no_music.obm"
; Remove remaining directories