os/win32/installer/install.nsi
changeset 10329 e7801276a827
parent 10046 97d4f53904ee
child 10334 88a42d6f712e
--- a/os/win32/installer/install.nsi	Thu Nov 13 20:26:06 2008 +0000
+++ b/os/win32/installer/install.nsi	Sun Nov 16 13:05:39 2008 +0000
@@ -120,6 +120,10 @@
 	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 @@
 	; Language files
 	Delete "$INSTDIR\lang\*.lng"
 
+	; Scripts
+	Delete "$INSTDIR\scripts\*.lng"
+
 	; Remove remaining directories
 	RMDir "$SMPROGRAMS\$SHORTCUTS\Extras\"
 	RMDir "$SMPROGRAMS\$SHORTCUTS"