home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 April (Special)
/
Chip-Special_1997-04_cd.bin
/
orchid
/
kmpeg
/
!kmpeg.exe
/
Install.dat
< prev
next >
Wrap
Text File
|
1995-07-18
|
13KB
|
469 lines
/*--
File Name: install.dat
History: Robert Gilsdorf (February 23, 1994) File created
Description: This is a script file that automates the installation process
of the Kelvin MPEG Series display drivers.
--*/
@DefineProject
@Name = "Kelvin"
@Version = "1.4"
@Immediate = 1
@Subdir = "\\"
@OutDrive = C
@AssumeHardDisk = 1
@EndProject
@DefineVars
@Drive @OrcDrive = c
@Dir @OrcDir = "\\KMPEG\\"
@Qstring @msgDDI = "Display Driver Installation"
@Qstring @msgDrive = "Please Select Destination Drive:"
@Qstring @msgDir = "Please Enter a Directory name or select ENTER to accept default."
@Qstring @msgPSAV = "Please Select Version:"
@Qstring @msgPSAA = "Please Select an Application:"
@Qstring @msgPSAO = "Please Select an Option:"
@Qstring @msgDDNE = "does not exist."
@Qstring @msgCont = "If you choose to continue, one will be created."
@Qstring @msgNoFile = "Some files are missing in your input directory:"
@Qstring @msgNPI = "may not be properly installed."
@Qstring @Reenter = " Enter Again"
@Qstring @Cont = " Continue "
@Qstring @NameWin = "Microsoft Windows"
@Qstring @NameMore = "More...."
@Qstring @NameTchsupt = "Technical Support"
@Qstring @NameCADsys = "Computer Aided Design"
@Qstring @NameACAD = "AutoCAD"
@Qstring @NameLotus = "Lotus 1-2-3"
@Qstring @NameWord = "Word Processing"
@Qstring @NameWP = "WordPerfect"
@Qstring @NameUtil = "Orchid Utilities"
@Qstring @NameOS2 = "IBM OS/2"
@Qstring @NameWinnt = "Microsoft Windows NT"
@EndVars
@Display
@If (@CheckCard ("c000", "00F4", "KELVIN 64-VLB") == 1)
@Goto MenuJumper
@Else
@Cls
█████████████████ ERROR ████████████████
█ █
█ An Orchid Kelvin MPEG adapter █
█ is not detected in your system. █
█ █
█ If you choose to continue this █
█ installation, the driver may not █
█ respond correctly. █
█ █
█ If you are using a Network Server, █
█ Just PRESS <ENTER> to continue. █
█ █
█ PRESS F3 TO ABORT INSTALLATION █
█ █
█ █
████████████████████████████████████████
@Pause
@Endif
MenuJumper:
@cls
@If (@CheckCard ("C000", "00F4", "KELVIN 64-VLB") == 1)
Orchid Kelvin 64-VLB MPEG Graphics Adapter
MPEG and Driver Installation Program
Disk Release 1.1
@Pause
@Cls
@EndIf
@EndDisplay
@Display
Note: If you have run this installation from
inside Windows, Please exit Windows and
run the installation from the DOS Prompt.
Before continuing with this installation,
make sure the Windows display driver is set
to standard VGA. Run SETUP from your MS-
Windows directory.
@Pause
@cls
@EndDisplay
@If ("@Indrive"=="C")
@Display
The Install Program must be run from a Floppy Drive. Please use the
<ESC> key and start over from the Floppy drive.
@Pause
@Abort
@EndDisplay
@EndIf
MenuMain:
@FlushOptions
@EnableF1(1)
@GetOption
@Cls
Choose one of the options below:
@Option 1000 = "@NameWin MPEG Driver Setup & Installation"
@Option 4000 = "README FIRST INSTALLATION INFORMATION"
@Option 7000 = "@NameTchsupt Information"
@EndOption
@If (@Esc)
@Exit
@Elseif (@KeyF1)
@Goto MenuMainHelp
@ElseIf (1000 [= @Option)
@Goto MenuWin
@ElseIf (4000 [= @Option)
@Help ("@ExePath\\install.hlp", "HelpReadme", "EndReadme")
@Goto MenuMain
@ElseIf (7000 [= @Option)
@Help ("@ExePath\\install.hlp", "HelpTchsupt", "EndTchsupt")
@Goto MenuMain
@Else
@Goto MenuMain
@Endif
MenuMainHelp:
@If (1000 [= @Option)
@Help ("@ExePath\\install.hlp", "HelpWin64", "EndWin64")
@Elseif (4000 [= @Option)
@Help ("@ExePath\\install.hlp", "HelpReadme", "EndReadme")
@Elseif (7000 [= @Option)
@Help ("@ExePath\\install.hlp", "HelpTchsupt", "EndTchsupt")
@EndIf
@Goto MenuMain
MenuWin:
@ClearOption (1010)
@ClearOption (1020)
@EnableF1(1)
@GetOption @Cls
@LocalWindow (12,37)
@NameWin @msgDDI
@msgPSAO
@Option 1010 = "Microsoft Windows Standard Installation"
@Option 1020 = "Microsoft Windows Network Server Installation"
@EndOption
@If (@Esc)
@Goto MenuMain
@ElseIf (@KeyF1)
@Help ("@ExePath\\install.hlp", "HelpWin64", "EndWin64")
@Goto MenuWin
@Endif
MenuOrcDrive:
@EnableF1(0)
@GetOutDrive @OrcDrive
@Suppress A
@Suppress B
@Cls
Please select the drive letter for the Kelvin MPEG files.
@EndOutDrive
@If (@Esc) @Goto MenuWin @EndIf
MenuOrcDir:
@GetSubdir @OrcDir
@Default = "\\KMPEG"
@Cls
Please select a subdirectory for the Orchid Kelvin MPEG utilities
or press <ENTER> to accept the default:
@EndSubdir
@If (@Esc) @Goto MenuOrcDrive @EndIf
MenuWinOne:
MenuWindow:
@EnableF1(0)
@GetOutDrive
@Suppress A
@Suppress B
@Cls
@NameWin @msgDDI
@msgDrive
@EndOutDrive
@If (@Esc) @Goto MenuOrcDir @EndIf
@GetSubdir
@Default = "\\WINDOWS"
@Cls
@NameWin @msgDDI
@msgDir
@EndSubdir
@If (@Esc) @Goto MenuWindow @EndIf
@ClearOption(1)
@ClearOption(2)
@EnableF1(0)
@GetOption
@LocalWindow (10,39)
@If (@Exists "@OutDrive:\\@SubDir" == 0)
@Cls
@NameWin @msgDDI
@OutDrive:@SubDir @msgDDNE
@msgCont
@ElseIf (1020 [= @Option)
@Goto MenuCopyFileWin
@ElseIf ((@Exists "@OutDrive:\\@SubDir\\winver.exe" == 0) ||
(@Exists "@OutDrive:\\@SubDir\\win.ini" == 0))
@Cls
@NameWin @msgDDI
@msgNoFile
@OutDrive:@SubDir
@NameWin @msgNPI
@Else
@Goto MenuCopyFileWin
@EndIf
@Option 1 = "@Reenter"
@Option 2 = "@Cont"
@EndOption
@If ((@Esc) || (1 [= @Option))
@Goto MenuWindow
@Endif
MenuCopyFileWin:
@DefineDisk
@Label = "Kelvin MPEG Disk #1"
@BeginLib kelmpeg.001
@F dplayer.exe @O @OrcDrive:\@OrcDir\*.*
@F fixpal.exe @O @OrcDrive:\@OrcDir\*.*
@F kmpegdrv.exe @O @OrcDrive:\@OrcDir\*.*
@F mpgconf.exe @O @OrcDrive:\@OrcDir\*.*
@F mpgwmix.exe @O @OrcDrive:\@OrcDir\*.*
@F testfmp.exe @O @OrcDrive:\@OrcDir\*.*
@F vplayer.exe @O @OrcDrive:\@OrcDir\*.*
@F mpgdev.sys @O @OrcDrive:\@OrcDir\*.*
@F cdimovie.drv @O @OrcDrive:\@OrcDir\*.*
@F impeg.drv @O @OrcDrive:\@OrcDir\*.*
@F mcifmp.drv @O @OrcDrive:\@OrcDir\*.*
@F mpgsnd.drv @O @OrcDrive:\@OrcDir\*.*
@F mpgvdd.386 @O @OrcDrive:\@OrcDir\*.*
@F kmpgtest.bat @O @OrcDrive:\@OrcDir\*.*
@F dsp.bin @O @OrcDrive:\@OrcDir\*.*
@F mpgvdd.bin @O @OrcDrive:\@OrcDir\*.*
@F mpeg.cfg @O @OrcDrive:\@OrcDir\*.*
@F fmpdrv.ini @O @OrcDrive:\@OrcDir\*.*
@F digitalv.mci @O @OrcDrive:\@OrcDir\*.*
@F mpgbkgnd.tsk @O @OrcDrive:\@OrcDir\*.*
@F dosmix.exe @O @OrcDrive:\@OrcDir\*.*
@F MPG.VER @O @OrcDrive:\@OrcDir\*.*
@F monitors.txt @O @OrcDrive:\@OrcDir\*.*
@F fmpdrv.bat @O @OrcDrive:\@OrcDir\*.*
@F mon.exe @O @OrcDrive:\@OrcDir\*.*
@F kmpegini.exe @O @OrcDrive:\@OrcDir\*.*
@F kcdplayr.exe @O @OrcDrive:\@OrcDir\*.*
@F wvplayer.hlp @O @OrcDrive:\@OrcDir\*.*
@F kelmpeg.exe @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F kelmpeg.hlp @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F rmtests.dll @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F ctl3d.dll @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F kelpatch.exe @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F digitalv.mci @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F monitors.txt @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F udh.dll @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F kelmpeg.exe @O @OutDrive:\@SubDir\*.* @Option 1020
@F kelmpeg.hlp @O @OutDrive:\@SubDir\*.* @Option 1020
@F rmtests.dll @O @OutDrive:\@SubDir\*.* @Option 1020
@F ctl3d.dll @O @OutDrive:\@SubDir\*.* @Option 1020
@F kelpatch.exe @O @OutDrive:\@SubDir\*.* @Option 1020
@F digitalv.mci @O @OutDrive:\@SubDir\*.* @Option 1020
@F monitors.txt @O @OutDrive:\@SubDir\*.* @Option 1020
@F udh.dll @O @OutDrive:\@SubDir\*.* @Option 1020
@F orcdde.dll @O @OutDrive:\@SubDir\*.*
@F orchinst.dat @O @OutDrive:\@SubDir\*.*
@F orchinst.exe @O @OutDrive:\@SubDir\*.*
@EndLib
@EndDisk
@Delete ("@OrcDrive:\\@OrcDir\\fmpdrv.exe")
@WriteFile ("@OutDrive:\\@SubDir\\system.ini", "CL_WinAccel", "Orchid-Path=", "Orchid-Path=@OrcDrive:\\@Orcdir", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "windows", "load=", "kelpatch.exe", "APPEND")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "windows", "load=", "orchinst.exe", "APPEND")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "windows", "load=", "@OrcDrive:\\@OrcDir\\kmpegini.exe", "APPEND")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "extensions", "MPG=", "MPG=MPLAYER.EXE ^.MPG", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "extensions", "VBS=", "VBS=MPLAYER.EXE ^.VBS", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "extensions", "ABS=", "ABS=MPLAYER.EXE ^.ABS", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "extensions", "DAT=", "DAT=MPLAYER.EXE ^.DAT", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "mci extensions", "MPG=", "MPG=KELVINMPEG", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "mci extensions", "VBS=", "VBS=KELVINMPEG", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "mci extensions", "ABS=", "ABS=KELVINMPEG", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\win.ini", "mci extensions", "DAT=", "DAT=KELVINMPEG", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\orchinst.dat", "Kelvin MPEG", "ItemCmd1=", "ItemCmd1=@OrcDrive:\\@Orcdir\\mpgwmix.exe", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\orchinst.dat", "Kelvin MPEG", "ItemCmd2=", "ItemCmd2=@OrcDrive:\\@Orcdir\\dplayer.exe", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\orchinst.dat", "Kelvin MPEG", "ItemCmd3=", "ItemCmd3=@OrcDrive:\\@Orcdir\\mpgconf.exe", "REPLACE")
@WriteFile ("@OutDrive:\\@SubDir\\orchinst.dat", "Kelvin MPEG", "ItemCmd5=", "ItemCmd5=@OrcDrive:\\@Orcdir\\kcdplayr.exe", "REPLACE")
@If (1020 [= @Option)
@WriteFile ("@OutDrive:\\@SubDir\\orchinst.dat", "Kelvin MPEG", "ItemCmd4=", "ItemCmd4=@OutDrive:\\@Subdir\\kelmpeg.exe", "REPLACE")
@Else
@WriteFile ("@OutDrive:\\@SubDir\\orchinst.dat", "Kelvin MPEG", "ItemCmd4=", "ItemCmd4=@OutDrive:\\@Subdir\\system\\kelmpeg.exe", "REPLACE")
@Endif
MenuAddDevice:
@ClearOption(60)
@ClearOption(61)
@GetOption
@LocalWindow (19,40)
@Cls
This line will be added to your CONFIG.SYS file:
DEVICE=@OrcDrive:@OrcDir\MPGDEV.SYS
A backup copy of your CONFIG.SYS file will be made and called
CONFIG.KMP.
Network Users:
If your CONFIG.SYS file is set to READ ONLY, Choose the DO
NOT run option. You will have to manually add the line to
your CONFIG.SYS file.
@Option 60 = "Continue, will modify your boot up file (CONFIG.SYS)"
@Option 61 = " Do not modify boot up files! "
@EndOption
@If (@Esc)
@Goto MenuAddDevice
@Elseif (61 [= @Option)
@Goto MenuEnd
@Elseif (60 [= @Option)
@If (@Exists "@BootDrive:\\config.g32" == 0)
@CatFiles ("@BootDrive:\\config.g32", "@BootDrive:\\config.sys")
@Goto MenuNext
@Elseif (@Exists "@BootDrive:\\config.g32" == 1)
@Delete ("@BootDrive:\\config.g32")
@CatFiles ("@BootDrive:\\config.g32", "@BootDrive:\\config.sys")
@Goto MenuNext
@Endif
@Endif
MenuNext:
@WriteFile ("@BootDrive:\\CONFIG.SYS", "NOSECTION", "MPGDEV.SYS",
"DEVICE=@OrcDrive:\\@OrcDir\\MPGDEV.SYS", "REPLACE")
MenuEnd:
@Display
@cls
You will now be prompted to insert the the Kelvin Series Diskette 1 of 1
for the Graphics Driver Installation:
Press Enter, and wait for the prompt to switch diskettes before changing
it.
@Pause
@EndDisplay
@Chain ("Disk #1", "install.dat" , "MenuCopyFileWin")
@Goto MenuMain