/*======================DEFINE PROJECT====================================*/ /* Install Script for Avenger Floppies */ @DefineProject @Name = "Avenger Spaceware" @Version = "2.2" @Subdir = "\\SPCWARE" @OutDrive = C @Group = "A" @InDiskBell = 1 @Terse @EndProject /*======================DEFINE VARIABLES====================================*/ /* specific types (Integer, QString, Drive, & Dir) as well as establishing*/ @DefineVars @Integer @Prog = 0 @Integer @Expls = 0 @Integer @Utils = 0 @Integer @Source = 0 @Integer @IRQ = 2 @Integer @IRQFinal = 0 @Integer @combase = 0 @Integer @comport = 0 @Integer @flag = 0 @QString @game = "none" @QString @gamename = "none" @Dir @gamedir = "@Getcwd()" @Drive @gamedrive = C @EndVars /*========================DISPLAY OPENING SCREEN==========================*/ @Display @Cls Spacetec IMC Corporation presents T H E ÜÜÜÜÜÜÜ ÜÜÜ ÜÜÜ ÜÜÜÜÜÜÜ ÜÜÜÜ ÜÜ ÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜ Û ÜÜÜ Û Û ÛÜÛ Û Û ÜÜÜÜÛ Û ÜßÛ Û Û ÜÜÜÜÛ Û ÜÜÜÜÛ Û ÜÜÜ Û Û ÜÜÜ Û ÛÜ ß ÜÛ Û ÜÜÜÛÜ Û ÛÜ Û Û ÛÜÜ Û Û ÜÜÜÛÜ Û ÜÜ ßÛ ÛÜÛ ÛÜÛ ßÛÜÛß ÛÜÜÜÜÜÛ ÛÜÛßÛÜÛ ÛÜÜÜÜÜÛ ÛÜÜÜÜÜÛ ÛÜÛßÛÜÛ Installation Program Version @Version @Pause @EndDisplay menu: /*============================MAIN MENU=================================*/ @GetOption @LocalWindow(10,55) @Option 100 = "Start Installation" @Option 103 = "EXIT!" @Cls Select the procedure you wish to perform. "Start installation" installs the complete @Name distribution and sets up the Avenger driver. "EXIT" returns you to the DOS prompt! Note: The selected item is blinking. Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move the bar to your selection and then press the [Enter] key. @EndOption @If(103 [= @Option) @movecstr(1,1,31,"Please Wait...")@goto exitnow @endif fullinstall: /*==================FULL INSTALLATION===============================*/ @If(100 [= @Option) @OutDrive = C @Prog = 100000 @Expls = 600000 @Utils = 90000 @Source = 1300000 LIST_DRIVES: @ClearOption(1) @GetOutDrive @LocalWindow(12,65) Please select the drive where you wish @Name to be installed on your machine. Any drive available can be used assuming you have access rights to the drive you select, and there is enough space available for installation. Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move the bar to your selection and then press the [Enter] key. @EndOutDrive @If (99 [= @Option) @GoTo Check_Free_Space @EndIf getdrive: @ClearOption(104) @ClearOption(105) @GetSubdir @LocalWindow(12,40) @Cls Please select the PATH under which you wish @Name to be installed. The current directory will look like this after installation: @outdrive:@subdir\AVENGER @movecstr(5,13,31," ³ ") @movecstr(6,13,31," ÃÄÄ\\SUPPORT") @movecstr(7,13,31," ÀÄÄ\\GAMES") @EndSubdir @GetOption @Cls The current directory will look like this after installation @outdrive:@subdir\AVENGER @movecstr(4,13,31," ³ ") @movecstr(5,13,31," ÃÄÄ\\SUPPORT") @movecstr(6,13,31," ÀÄÄ\\GAMES") @LocalWindow(14,55) @Option 104 = "I like that directory" @Option 105 = "I made a mistake" @EndOption @If(105 [= @Option) @goto LIST_DRIVES @EndIf @Prog = 100000 @Expls = 600000 @Utils = 90000 @Source = 1300000 //Check_Free_Space: @display @cls Before we install the files, we will try to insure communications with the Spaceball Avenger. When you EXIT, I will install your programs and ask you if you would like to modify your AUTOEXEC.BAT file to properly load the driver. @pause @enddisplay checkcom: @ClearOption(200) @ClearOption(201) @ClearOption(202) @ClearOption(203) @ClearOption(204) @GetOption @Cls Checking COM ports .................. You have @comtotal COM ports! @if(@com(1)) This Machine has a COM1 serial port. @Option 200 = "COM 1" @endif @if(@com(2)) This Machine has a COM2 serial port. @Option 201 = "COM 2" @endif @if(@com(3)) This Machine has a COM3 serial port. @Option 202 = "COM 3" @endif @if(@com(4)) This Machine has a COM4 serial port. @Option 203 = "COM 4" @endif @Option 204 = "Continue" Due to the complicated nature of finding the IRQ number,base address,and interrupt vector for a given COM port for your system we will attempt to find one for you. So please be patient! A few minutes here could save you days figuring it out by yourself! Please Select which COM port you would like to use. Hint: If your mouse is on COM1 then don't use COM1 Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move the bar to your selection and then press the [Enter] key. @LocalWindow(4,55) @EndOption @IRQFinal = 0 @If(200 [= @Option) @comport = 1 @endif @If(201 [= @Option) @comport = 2 @endif @If(202 [= @Option) @comport = 3 @endif @If(203 [= @Option) @comport = 4 @endif @If(204 [= @Option) @movecstr(1,1,31,"Please Wait...") @goto exitnow @endif @combase = @COM(@comport) @IRQ = 1 retest: @IRQ = @eval(@IRQ + 1) @if (@IRQ == 6 ) @goto bad @endif @display @cls I will now try to test each IRQ (2-15), to find the one that matches your COM port. Important: In order for this test to work your Avenger must be plugged into the COM port you have chosen. @pause @enddisplay @movecstr(1,1,31,"TESTING: Please Wait...") @movecstr(2,1,31,"[ ]") @if (@spawn("avgrutil.exe @comport:3:@combase -p")==0) @IRQFinal = 3 @goto ett @else @movecstr(2,3,31,".") @endif @if (@spawn("avgrutil.exe @comport:4:@combase -p")==0) @IRQFinal = 4 @goto ett @else @movecstr(2,4,31,".") @endif @if (@spawn("avgrutil.exe @comport:2:@combase -p")==0) @IRQFinal = 2 @goto ett @else @movecstr(2,2,31,".") @endif @if (@spawn("avgrutil.exe @comport:5:@combase -p")==0) @IRQFinal = 5 @goto ett @else @movecstr(2,5,31,".") @endif @if (@spawn("avgrutil.exe @comport:6:@combase -p")==0) @IRQFinal = 6 @goto ett @else @movecstr(2,6,31,".") @endif @if (@spawn("avgrutil.exe @comport:7:@combase -p")==0) @IRQFinal = 7 @goto ett @else @movecstr(2,7,31,".") @endif @if (@spawn("avgrutil.exe @comport:8:@combase -p")==0) @IRQFinal = 8 @goto ett @else @movecstr(2,8,31,".") @endif @if (@spawn("avgrutil.exe @comport:9:@combase -p")==0) @IRQFinal = 9 @goto ett @else @movecstr(2,9,31,".") @endif @if (@spawn("avgrutil.exe @comport:10:@combase -p")==0) @IRQFinal = 10 @goto ett @else @movecstr(2,10,31,".") @endif @if (@spawn("avgrutil.exe @comport:11:@combase -p")==0) @IRQFinal = 11 @goto ett @else @movecstr(2,11,31,".") @endif @if (@spawn("avgrutil.exe @comport:12:@combase -p")==0) @IRQFinal = 12 @goto ett @else @movecstr(2,12,31,".") @endif @if (@spawn("avgrutil.exe @comport:13:@combase -p")==0) @IRQFinal = 13 @goto ett @else @movecstr(2,13,31,".") @endif @if (@spawn("avgrutil.exe @comport:14:@combase -p")==0) @IRQFinal = 14 @goto ett @else @movecstr(2,14,31,".") @endif @if (@spawn("avgrutil.exe @comport:15:@combase -p")==0) @IRQFinal = 15 @goto ett @else @movecstr(2,15,31,".") @endif ett: @if (@IRQFinal != 0) @display @cls O.K. IRQ @IRQFinal works!! When you exit this program I will ask you if you want to add the proper driver in your AUTOEXEC.BAT file. The autoexec.bat will properly load the driver when you reboot your computer! @pause @enddisplay @SetAutoExec @AskOverwrite @verbatim "call @OutDrive:@subdir\\avenger\\avgrload.bat" @Path = "@OutDrive:@subdir;" @EndAutoExec @else @display @cls COM @comport is not available try another! Make sure the Avenger is plugged into a COM port. If you are sure it is plugged into a COM port, then try to change which COM port you are testing for. If nothing works then see your manual. Hint: sometimes there are 9 or 25 pin COM port connectors on the back of your computer, and you may need a 9 to 25 pin adapter from your Avenger to your computer. @pause @enddisplay @goto checkcom @endif wait: @movecstr(1,1,31,"Please Wait...") @EndIf exitnow: /*==========================EXIT INSTALLATION=============================*/ @If(103 [= @Option) @exit @EndIf /*================GET ROOT DIRECTORY============================*/ begininstall: /*===============DEFINE AND COPY DISK FILES HERE===================*/ @DefineDisk @Label = "Disk #1" @File INS.EXE @Size 97853 @OUT avenger\avgrset.exe @OVERWRITE @File disk.id @Size 32 @OUT avenger\disk.id @OVERWRITE @File 1.DAT @Size 18328 @OUT avenger\install.dat @OVERWRITE @File 2.DAT @Size 18328 @OUT avenger\2.dat @OVERWRITE @File readme.txt @Size 18328 @OUT avenger\readme.txt @OVERWRITE @BeginLib GAMES.RED @File SPWDCENT.CFG @Size 754 @OUT avenger\games\*.* @OVERWRITE @File SPWWOLF3.CFG @Size 441 @OUT avenger\games\*.* @OVERWRITE @File SPWDOOM1.CFG @Size 630 @OUT avenger\games\*.* @OVERWRITE @File SPWSHOCK.CFG @Size 582 @OUT avenger\games\*.* @OVERWRITE @File SPWDARKF.CFG @Size 773 @OUT avenger\games\*.* @OVERWRITE @File SPWSPEAR.CFG @Size 435 @OUT avenger\games\*.* @OVERWRITE @File SPWXWING.CFG @Size 918 @OUT avenger\games\*.* @OVERWRITE @File SPWHTIC.CFG @Size 755 @OUT avenger\games\*.* @OVERWRITE @File SPWROTT.CFG @Size 612 @OUT avenger\games\*.* @OVERWRITE @File SPWDARKF.EXE @Size 69224 @OUT avenger\games\*.* @OVERWRITE @File SPWDCENT.EXE @Size 68328 @OUT avenger\games\*.* @OVERWRITE @File SPWDOOM1.EXE @Size 67992 @OUT avenger\games\*.* @OVERWRITE @File SPWDOOM2.EXE @Size 68024 @OUT avenger\games\*.* @OVERWRITE @File SPWHTIC.EXE @Size 68504 @OUT avenger\games\*.* @OVERWRITE @File SPWHEXEN.EXE @Size 68504 @OUT avenger\games\*.* @OVERWRITE @File SPWXWING.EXE @Size 40326 @OUT avenger\games\*.* @OVERWRITE @File SPWWOLF3.EXE @Size 40772 @OUT avenger\games\*.* @OVERWRITE @File SPWBSTON.EXE @Size 40772 @OUT avenger\games\*.* @OVERWRITE @File AVENGER.DLL @Size 9195 @OUT avenger\games\*.* @OVERWRITE @File SPWC7.EXE @Size 40772 @OUT avenger\games\*.* @OVERWRITE @File AVGREAD.ME @Size 6673 @OUT avenger\games\*.* @OVERWRITE @File SPWSPEAR.EXE @Size 40772 @OUT avenger\games\*.* @OVERWRITE @File AVENGER.MAP @Size 6607 @OUT avenger\games\*.* @OVERWRITE @File AVENGER.CPC @Size 3872 @OUT avenger\games\*.* @OVERWRITE @File SPWC7.CFG @Size 384 @OUT avenger\games\*.* @OVERWRITE @File SPWHEXEN.CFG @Size 732 @OUT avenger\games\*.* @OVERWRITE @File SPWDOOM2.CFG @Size 625 @OUT avenger\games\*.* @OVERWRITE @File SPWTITLE.RAW @Size 64772 @OUT avenger\games\*.* @OVERWRITE @File SPWBSTON.CFG @Size 433 @OUT avenger\games\*.* @OVERWRITE @EndLib @BeginLib DEMOS.RED @File dos4gw.exe @Size 18328 @OUT avenger\support\*.* @OVERWRITE @File BROMAFL.RWX @Size 5339 @OUT avenger\support\*.* @OVERWRITE @File RUNWAY.RWX @Size 793 @OUT avenger\support\*.* @OVERWRITE @File ACTIVE.BAT @Size 145 @OUT avenger\support\*.* @OVERWRITE @File OCTAGON.BAT @Size 156 @OUT avenger\support\*.* @OVERWRITE @File AVGRHELP.EXE @Size 118459 @OUT avenger\support\*.* @OVERWRITE @File AVGRBALL.EXE @Size 102442 @OUT avenger\support\*.* @OVERWRITE @File AVGRBAL.BAT @Size 145 @OUT avenger\support\*.* @OVERWRITE @File BIG.FNT @Size 16384 @OUT avenger\support\*.* @OVERWRITE @File TRAIN1.EXE @Size 735001 @OUT avenger\support\*.* @OVERWRITE @EndLib @BeginLib BMP.RED @File CEIL1.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File BACKDROP.BMP @Size 150550 @OUT avenger\support\*.* @OVERWRITE @File WALL5M.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL6.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL7.BMP @Size 82998 @OUT avenger\support\*.* @OVERWRITE @File WALL7M.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL8.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL8M.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALLM.BMP @Size 82998 @OUT avenger\support\*.* @OVERWRITE @File TRAIN2.BMP @Size 54838 @OUT avenger\support\*.* @OVERWRITE @File WALL3M.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL4.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL4M.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL5.BMP @Size 82998 @OUT avenger\support\*.* @OVERWRITE @File FLOOR1.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL3.BMP @Size 82998 @OUT avenger\support\*.* @OVERWRITE @File TRAIN1.BMP @Size 54838 @OUT avenger\support\*.* @OVERWRITE @File WALL1.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL1M.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @File WALL2.BMP @Size 17462 @OUT avenger\support\*.* @OVERWRITE @EndLib @EndDisk @DefineDisk @Label = "Disk #2" @BeginLib PCX.RED @File ACTSRN.PCX @Size 46211 @OUT avenger\support\*.* @OVERWRITE @File HSPVRB.PCX @Size 21232 @OUT avenger\support\*.* @OVERWRITE @File INSTRUCT.PCX @Size 11389 @OUT avenger\support\*.* @OVERWRITE @File HSPSRN.PCX @Size 50991 @OUT avenger\support\*.* @OVERWRITE @File GRPVRB2.PCX @Size 37612 @OUT avenger\support\*.* @OVERWRITE @File HOMSRN.PCX @Size 43656 @OUT avenger\support\*.* @OVERWRITE @File GRPVRB.PCX @Size 37754 @OUT avenger\support\*.* @OVERWRITE @File PSSRN1.PCX @Size 48147 @OUT avenger\support\*.* @OVERWRITE @File GRPVRB3.PCX @Size 37397 @OUT avenger\support\*.* @OVERWRITE @File HOTVRB.PCX @Size 32026 @OUT avenger\support\*.* @OVERWRITE @File PSSRN2.PCX @Size 29596 @OUT avenger\support\*.* @OVERWRITE @File ACTVRB.PCX @Size 25054 @OUT avenger\support\*.* @OVERWRITE @File ARROWS.PCX @Size 9547 @OUT avenger\support\*.* @OVERWRITE @File TRAIN1.PCX @Size 25217 @OUT avenger\support\*.* @OVERWRITE @File PSSRN3.PCX @Size 16374 @OUT avenger\support\*.* @OVERWRITE @File VERBSCR.PCX @Size 25217 @OUT avenger\support\*.* @OVERWRITE @File GRPSRN.PCX @Size 36340 @OUT avenger\support\*.* @OVERWRITE @File HOTSRN.PCX @Size 51626 @OUT avenger\support\*.* @OVERWRITE @EndLib @BeginLib UTILS.RED @File SFONT1.FNT @Size 16384 @OUT avenger\support\*.* @OVERWRITE @File SMALL.FNT @Size 16384 @OUT avenger\support\*.* @OVERWRITE @File AVLAUNCH.EXE @Size 13157 @OUT avenger\support\*.* @OVERWRITE @File SPSETUP.EXE @Size 83506 @OUT avenger\support\*.* @OVERWRITE @File SPSETUP2.PCX @Size 8754 @OUT avenger\support\*.* @OVERWRITE @File MOUSE.TXT @Size 2709 @OUT avenger\support\*.* @OVERWRITE @File AVCUSTMZ.BAT @Size 32094 @OUT avenger\support\*.* @OVERWRITE @File SETUP.BAT @Size 32094 @OUT avenger\*.* @OVERWRITE @File SPWMOUSE.EXE @Size 32094 @OUT avenger\*.* @OVERWRITE @File MEDIUM.FNT @Size 16384 @OUT avenger\support\*.* @OVERWRITE @File SPSETUP.PCX @Size 27619 @OUT avenger\support\*.* @OVERWRITE @File AVVERIFY.EXE @Size 13533 @OUT avenger\*.* @OVERWRITE @File CFG.PCX @Size 21808 @OUT avenger\support\*.* @OVERWRITE @File FNT8X8.BIN @Size 2048 @OUT avenger\support\*.* @OVERWRITE @File CFG.EXE @Size 374050 @OUT avenger\support\*.* @OVERWRITE @File AVENGER.22 @Size 0 @OUT avenger\support\*.* @OVERWRITE @File AVGRFLIP.EXE @Size 14751 @OUT avenger\support\*.* @OVERWRITE @File VAXIS.BAT @Size 60 @OUT avenger\support\*.* @OVERWRITE @File HAXIS.BAT @Size 61 @OUT avenger\support\*.* @OVERWRITE @EndLib @BeginLib DRIVERS.RED @File AVENGER.EXE @Size 16399 @OUT avenger\*.* @OVERWRITE @File README.TXT @Size 18229 @OUT avenger\*.* @OVERWRITE @File AVGRUTIL.EXE @Size 13037 @OUT avenger\*.* @OVERWRITE @File AVGRTEST.EXE @Size 38710 @OUT avenger\*.* @OVERWRITE @EndLib @EndDisk @Finish @ChDrive @OutDrive @ChDir "@SubDir" @ChDir "AVENGER" @Cls Please Wait......... @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","wt", "@@echo off\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo Loading the Avenger Drivers . . .\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "@@echo off\n@OutDrive:@subdir\\avenger\\avenger.exe\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "@OutDrive:@subdir\\avenger\\avgrutil.exe @comport:@IRQFinal:@combase\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "if errorlevel == 5 goto nodev\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "if errorlevel == 1 goto othererror\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "@OutDrive:@subdir\\avenger\\support\\avgrflip.exe /f@subdir\\avenger\\support\\spcware.cfg /q\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "goto end\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", ":nodev\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo.\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo The Avenger cannot be found. Please check to see that it is properly\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo installed and try again. If you continue to have problems, try\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo running the setup utility.\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo.\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "pause\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "goto end\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", ":othererror\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo.\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo The Avenger could not be loaded. Please check to see that it is properly\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo installed and try again. If you continue to have problems, try\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo running the setup utility.\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "echo.\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", "pause\n") @write("@OutDrive:\\@subdir\\avenger\\avgrload.bat","at", ":end\n") @write("@OutDrive:\\@subdir\\goavgr.bat","wt", "@@echo off\n@OutDrive:\ncd @subdir\\avenger\n") @write("@OutDrive:\\@subdir\\goavgr.bat","at", "call avgrload.bat\n") @write("@OutDrive:\\@subdir\\goavgr.bat","at", "call avlaunch.bat\n") @write("@OutDrive:\\@subdir\\goavgr.bat","at", "cd\\@subdir\n") @if (@FileSize("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg") == -1 ) @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","wt", "[ORIENTATION]\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "0\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "[GAMES]\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "Exit to DOS=\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "Switch Avenger to VERTICAL=vaxis.bat\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "Activator Trainer=@OutDrive:\\@subdir\\avenger\\support\\active.bat\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "Octagon Trainer=@OutDrive:\\@subdir\\avenger\\support\\octagon.bat\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "Customizer=@OutDrive:\\@subdir\\avenger\\support\\avcustmz.bat\n") @write("@OutDrive:\\@subdir\\avenger\\support\\spcware.cfg","at", "Test Avenger=@OutDrive:\\@subdir\\avenger\\support\\avgrbal.bat\n") @endif @write("@OutDrive:\\@subdir\\avenger\\install.dat","at"," @@Subdir=\"\\\\@subdir\"\n") @write("@OutDrive:\\@subdir\\avenger\\install.dat","at"," @@OutDrive = @OutDrive\n") @write("@OutDrive:\\@subdir\\avenger\\avlaunch.bat","wt","@@echo off\n") @write("@OutDrive:\\@subdir\\avenger\\avlaunch.bat","at","set spwmld=X\n") @write("@OutDrive:\\@subdir\\avenger\\avlaunch.bat","at","@OutDrive:\nCD \\@subdir\\AVENGER\\support\n") @write("@OutDrive:\\@subdir\\avenger\\avlaunch.bat","at","avlaunch.exe\n") @write("@OutDrive:\\@subdir\\setup.bat","wt","@@echo off\n") @write("@OutDrive:\\@subdir\\setup.bat","at","@OutDrive:\ncd\\@subdir\\avenger\n") @write("@OutDrive:\\@subdir\\setup.bat","at","setup.bat\n") @if ( @system("type 2.dat>>install.dat") ) @endif @if ( @system("del 2.dat") ) @endif @Cls The installation of @Name is now finished. Futher reconfiguring can be done from the @OutDrive:@SubDir\AVENGER directory, using the SETUP program. To reconfigure your COM port and to setup for any supported games you may have, I will attempt to run the SETUP.EXE program. Warning: The SETUP program MUST be run, in order to setup for the supported games. @FlushKeyboard() @Pause @EndFinish /*========================================================================*/ // end-of-file