summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-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"