summaryrefslogtreecommitdiff
path: root/os/win32/installer
diff options
context:
space:
mode:
Diffstat (limited to 'os/win32/installer')
-rw-r--r--os/win32/installer/install.nsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/win32/installer/install.nsi b/os/win32/installer/install.nsi
index 2e5d300a1..428db5100 100644
--- a/os/win32/installer/install.nsi
+++ b/os/win32/installer/install.nsi
@@ -110,6 +110,7 @@ Section "!OpenTTD" Section1
; Copy data files
SetOutPath "$INSTDIR\data\"
File ${PATH_ROOT}bin\data\*.grf
+ File ${PATH_ROOT}bin\data\*.obg
File ${PATH_ROOT}bin\data\opntitle.dat
; Copy scenario files (don't choke if they don't exist)
SetOutPath "$INSTDIR\scenario\"
@@ -135,6 +136,7 @@ Section "!OpenTTD" Section1
; Delete old files from the main dir. they are now placed in data/ and lang/
Delete "$INSTDIR\*.lng"
Delete "$INSTDIR\*.grf"
+ Delete "$INSTDIR\*.obg"
Delete "$INSTDIR\sample.cat"
Delete "$INSTDIR\ttd.exe"
@@ -270,6 +272,9 @@ Section "Uninstall"
Delete "$INSTDIR\data\trkfoundw.grf"
Delete "$INSTDIR\data\openttdd.grf"
Delete "$INSTDIR\data\openttdw.grf"
+ Delete "$INSTDIR\data\orig_win.obg"
+ Delete "$INSTDIR\data\orig_dos.obg"
+ Delete "$INSTDIR\data\orig_dos_de.obg"
Delete "$INSTDIR\data\sample.cat"
; Windows Data files