summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-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 4863037ef..69534505a 100644
--- a/os/win32/installer/install.nsi
+++ b/os/win32/installer/install.nsi
@@ -106,6 +106,10 @@ Section "!OpenTTD" Section1
SetOutPath "$INSTDIR\lang\"
File ${PATH_ROOT}bin\lang\*.lng
+ ; Copy AI files
+ SetOutPath "$INSTDIR\ai\"
+ File ${PATH_ROOT}bin\ai\compat_*.nut
+
; Copy data files
SetOutPath "$INSTDIR\data\"
File ${PATH_ROOT}bin\data\*.grf
@@ -298,6 +302,9 @@ Section "Uninstall"
Delete "$INSTDIR\cached_sprites.*"
Delete "$INSTDIR\save\autosave\network*.tmp" ; temporary network file
+ ; AI files
+ Delete "$INSTDIR\ai\compat_*.nut"
+
; Data files
Delete "$INSTDIR\data\opntitle.dat"