summaryrefslogtreecommitdiff
path: root/os/windows/installer
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-22 21:40:29 +0000
committerrubidium <rubidium@openttd.org>2009-12-22 21:40:29 +0000
commita8d6d18b227facafcdf4b769beec3d09ee788a17 (patch)
tree59b37ea9c3e4f725854376a70dc7a428918c5141 /os/windows/installer
parentb30e56850cc77ef3de16e2bc721b7e704d1a12fb (diff)
downloadopenttd-a8d6d18b227facafcdf4b769beec3d09ee788a17.tar.xz
(svn r18608) -Change: add the concept of music sets
Diffstat (limited to 'os/windows/installer')
-rw-r--r--os/windows/installer/install.nsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/windows/installer/install.nsi b/os/windows/installer/install.nsi
index 84973ca44..120215067 100644
--- a/os/windows/installer/install.nsi
+++ b/os/windows/installer/install.nsi
@@ -123,6 +123,10 @@ Section "!OpenTTD" Section1
File ${PATH_ROOT}bin\data\*.obs
File ${PATH_ROOT}bin\data\opntitle.dat
+ ; Copy the music base metadata files
+ SetOutPath "$INSTDIR\gm\"
+ File ${PATH_ROOT}bin\gm\*.obm
+
; Copy the scripts
SetOutPath "$INSTDIR\scripts\"
File ${PATH_ROOT}bin\scripts\*.*
@@ -397,6 +401,10 @@ Section "Uninstall"
; Scripts
Delete "$INSTDIR\scripts\*.*"
+ ; Base sets for music
+ Delete "$INSTDIR\gm\orig_mus.obm"
+ Delete "$INSTDIR\gm\no_sound.obm"
+
; Remove remaining directories
RMDir "$SMPROGRAMS\$SHORTCUTS\Extras\"
RMDir "$SMPROGRAMS\$SHORTCUTS"