summaryrefslogtreecommitdiff
path: root/os/win32
diff options
context:
space:
mode:
Diffstat (limited to 'os/win32')
-rw-r--r--os/win32/installer/install.nsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/win32/installer/install.nsi b/os/win32/installer/install.nsi
index 428db5100..289d8947d 100644
--- a/os/win32/installer/install.nsi
+++ b/os/win32/installer/install.nsi
@@ -120,6 +120,10 @@ Section "!OpenTTD" Section1
SetOutPath "$INSTDIR\scenario\heightmap\"
File /nonfatal ${PATH_ROOT}bin\scenario\heightmap\*.*
+ ; Copy the scripts
+ SetOutPath "$INSTDIR\scripts\"
+ File ${PATH_ROOT}bin\scripts\*.*
+
; Copy the rest of the stuff
SetOutPath "$INSTDIR\"
@@ -296,6 +300,9 @@ Section "Uninstall"
; Language files
Delete "$INSTDIR\lang\*.lng"
+ ; Scripts
+ Delete "$INSTDIR\scripts\*.lng"
+
; Remove remaining directories
RMDir "$SMPROGRAMS\$SHORTCUTS\Extras\"
RMDir "$SMPROGRAMS\$SHORTCUTS"