summaryrefslogtreecommitdiff
path: root/os/os2/installer/download_nosound.cmd
diff options
context:
space:
mode:
authororudge <orudge@openttd.org>2009-12-30 02:23:10 +0000
committerorudge <orudge@openttd.org>2009-12-30 02:23:10 +0000
commitb1f8915f1db6bfaabb720dad841c9565b8dcb6e1 (patch)
tree02e4ef6a4590b762a165ae5269a57b26c7be1fc0 /os/os2/installer/download_nosound.cmd
parent60a48dbec125174a713bec1a67d19c978a9c3f8e (diff)
downloadopenttd-b1f8915f1db6bfaabb720dad841c9565b8dcb6e1.tar.xz
(svn r18662) -Feature: Add WarpIN-based installer for OS/2
Diffstat (limited to 'os/os2/installer/download_nosound.cmd')
-rw-r--r--os/os2/installer/download_nosound.cmd21
1 files changed, 21 insertions, 0 deletions
diff --git a/os/os2/installer/download_nosound.cmd b/os/os2/installer/download_nosound.cmd
new file mode 100644
index 000000000..296becf3c
--- /dev/null
+++ b/os/os2/installer/download_nosound.cmd
@@ -0,0 +1,21 @@
+@echo off
+if "%1" == "" goto err
+if "%2" == "" goto err
+
+echo Downloading NoSound...
+
+%1\wget http://binaries.openttd.org/installer/nosound-NOSOUND_VERSION.7z -O %2/data/nosound.7z
+
+echo Extracting NoSound...
+
+%1\7za x -y -O%2/data %2/data/nosound.7z
+del %1\data\nosound.7z /n
+
+echo NoSound has been installed.
+goto end
+
+:err
+echo This batch file is only intended for use by the OpenTTD installer.
+echo Please visit www.openttd.org for details on downloading NoSound.
+
+:end \ No newline at end of file