home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 4 Drivers
/
04-Drivers.zip
/
xir221.zip
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1994-07-28
|
4KB
|
113 lines
@DefineProject
@Name = "XL220/221 Device Drivers"
@Version = "XL221.v1"
@OutDrive = C
@Subdir = "\\XL221"
@EndProject
@movecstr(2,24,126,"╔═════════════════════════╗")
@movecstr(3,24,126,"║ ║")
@movecstr(4,24,126,"║ ║")
@movecstr(5,24,126,"║ ║")
@movecstr(6,24,126,"╚═════════════════════════╝")
@movecstr(4,25,244," SunMoonStar ")
@Display
@move(11,2)
This program will install @Name onto your machine.
You may press the [Esc] key at any time to abort the installation.
@pause
@EndDisplay
@GetOutDrive
Please select the drive where you wish @Name
to be installed on your machine.
@LocalWindow(12,40)
@EndOutDrive
@If (@Removable)
@Display
You can't install @Name onto a floppy drive!
@Pause
@Abort
@EndDisplay
@EndIf
@GetSubdir
@LocalWindow(11,40)
@Cls
Please select the PATH that you wish @Name
to be installed under.
Beware this path is in drive @OutDrive.
@EndSubdir
@DefineDisk
@LABEL = "Disk #1"
@File DOS\ASPI221.SYS @Out @OutDrive:\\@Subdir\\ASPI221.SYS
@File DOS\CD221.SYS @Out @OutDrive:\\@Subdir\\CD221.SYS
@File DOS\RHD221.SYS @Out @OutDrive:\\@Subdir\\RHD221.SYS
@File DOS\XFDISK.COM @Out @OutDrive:\\@Subdir\\XFDISK.COM
@File DOS\MBOX.EXE @Out @OutDrive:\\@Subdir\\MBOX.EXE
@File DOS\MSCDEX.EXE @Out @OutDrive:\\@Subdir\\MSCDEX.EXE
@File XL221.LST @Out @OutDrive:\\@Subdir\\XL221.LST
@EndDisk
@GetOption
@LocalWindow(7,40)
@Option 1 = "CDROM and MO (or removable harddisk)"
@Option 2 = "CDROM only"
@option 3 = "MO (or removable harddisk) only"
@Option 4 = "Others or Corel SCSI"
@Cls
Please select which SCSI device drives you need to install.
@EndOption
@if (1 [= @Option)
@SetConfig
@AskOverwrite
@Device = "@OutDrive:\\@Subdir\\ASPI221.sys /XL220"
@Device = "@OutDrive:\\@Subdir\\CD221.sys"
@Device = "@OutDrive:\\@Subdir\\RHD221.sys"
@EndConfig
@System ("md @OutDrive:\\@Subdir")
@Write ("@OutDrive:\\@Subdir\\temp","wt","@OutDrive:\\@Subdir\\mscdex /d:MSCD000\n")
@System ("copy/b @OutDrive:\\@Subdir\\temp+@OutDrive:\\autoexec.bat @OutDrive:\\@Subdir\\autoexec.bat")
@System ("copy @OutDrive:\\@Subdir\\autoexec.bat @OutDrive:\\autoexec.bat")
@System ("del @OutDrive:\\@Subdir\\temp")
@System ("del @OutDrive:\\@Subdir\\autoexec.bat")
@Elseif (2 [= @Option)
@SetConfig
@AskOverwrite
@Device = "@OutDrive:\\@Subdir\\ASPI221.sys /XL220"
@Device = "@OutDrive:\\@Subdir\\CD221.sys"
@EndConfig
@System ("md @OutDrive:\\@Subdir")
@Write ("@OutDrive:\\@Subdir\\temp","wt","@OutDrive:\\@Subdir\\mscdex /d:MSCD000\n")
@System ("copy/b @OutDrive:\\@Subdir\\temp+@OutDrive:\\autoexec.bat @OutDrive:\\@Subdir\\autoexec.bat")
@System ("copy @OutDrive:\\@Subdir\\autoexec.bat @OutDrive:\\autoexec.bat")
@System ("del @OutDrive:\\@Subdir\\temp")
@System ("del @OutDrive:\\@Subdir\\autoexec.bat")
@Elseif (3 [= @Option)
@SetConfig
@AskOverwrite
@Device = "@OutDrive:\\@Subdir\\ASPI221.sys /XL220"
@Device = "@OutDrive:\\@Subdir\\RHD221.sys"
@EndConfig
@Else
@SetConfig
@AskOverwrite
@Device = "@OutDrive:\\@Subdir\\ASPI221.sys /XL220"
@EndConfig
@Endif
@Finish
Changes have been made to your CONFIG.SYS file which
require rebooting to take effect.
Therefore, this installation program will now reboot your system.
@System ("@InDrive:\\delay.exe")
@Pause
@Reboot("Installation of @Name is now Complete.\nPlease remove your floppy disk now.\nRebooting your machine.")
@EndFinish