[install] Add top-level setup.bat and readme.txt
authorMichael Brown <mbrown@fensystems.co.uk>
Fri, 19 Dec 2008 02:40:09 +0000 (02:40 +0000)
committerMichael Brown <mbrown@fensystems.co.uk>
Fri, 19 Dec 2008 02:42:22 +0000 (02:42 +0000)
readme.txt [new file with mode: 0644]
setup.bat [new file with mode: 0644]

diff --git a/readme.txt b/readme.txt
new file mode 100644 (file)
index 0000000..1eeb80b
--- /dev/null
@@ -0,0 +1,8 @@
+SAN Boot Configuration Driver for Windows - Quick Start Instructions\r
+====================================================================\r
+\r
+1. Install the Microsoft iSCSI Initiator (boot-capable version).\r
+\r
+2. Run setup.bat from this directory.\r
+\r
+Congratulations, your system is now iSCSI-bootable.\r
diff --git a/setup.bat b/setup.bat
new file mode 100644 (file)
index 0000000..34651bf
--- /dev/null
+++ b/setup.bat
@@ -0,0 +1,16 @@
+@echo off
+
+set cpu=
+if "%PROCESSOR_ARCHITECTURE%"=="x86" set cpu=i386
+if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set cpu=amd64
+if "%cpu%"=="" goto cpuerror
+
+%0\..\bin\%cpu%\setup.exe
+goto :end
+
+:cpuerror
+echo Could not determine CPU type
+pause
+goto :end
+
+:end