home *** CD-ROM | disk | FTP | other *** search
/ MPC Wizard 3.0 / WIZARD3_0.ISO / drivers / sound / or_gw32 / install.dat < prev    next >
Text File  |  1994-01-25  |  22KB  |  748 lines

  1. /*---------------------------------------------------------------------------  
  2.   File Name: install.dat
  3.  
  4.   History: Robert W. Gilsdorf (August 2, 1993) File created.
  5.            
  6.   Description: This is a script file that automates the installation process 
  7.                for the GameWave 32 and CD-ROM drive.
  8. ----------------------------------------------------------------------------*/
  9.  
  10. @DefineProject
  11.         @Name            = "GameWave32"
  12.         @Version         = "1.3"
  13.         @Immediate       = 1 
  14.         @OutDrive        = C
  15.         @SubDir          = "\\GW32\\"
  16.         @AssumeHardDisk  = 1
  17. @EndProject
  18.  
  19.  
  20. @DefineVars
  21.  @Drive @PCDrive        = C
  22.  @Drive @WinDrive       = C     
  23.  @Drive @WorkDrive      = C
  24.  @Dir @PCDir            = "\\GW32\\"
  25.  @Dir @WinDir           = "\\WINDOWS\\"
  26.  @Dir @WorkDir          = "\\WINDOWS\\"
  27.  @Qstring @msgDDD       = "Audio Driver Installation"
  28.  @Qstring @msgDrive     = "Please Select Destination Drive:"
  29.  @Qstring @msgDir       = "Please Enter a Directory name or select ENTER to accept default."
  30.  @Qstring @msgPSAV      = "Please Select Version:"
  31.  @Qstring @msgPSAA      = "Please Select an Application:"
  32.  @Qstring @msgPSAO      = "Please Select an Option:"
  33.  @Qstring @msgDDNE      = "does not exist."
  34.  @Qstring @msgCont      = "If you choose to continue, one will be created."
  35.  @Qstring @msgNoFile    = "Some files are missing in your input directory:"
  36.  @Qstring @msgNPI       = "may not be properly installed."
  37.  @Qstring @Reenter      = " Enter Again"
  38.  @Qstring @Cont         = "  Continue  "
  39.  @Qstring @NameWin      = "Microsoft Windows"
  40.  
  41. @EndVars
  42.  
  43.  
  44.  
  45. @Display
  46. @cls
  47.  
  48.  
  49.  
  50.  
  51.  
  52.                               Orchid Technology
  53.                         
  54.                         
  55.                   GameWave 32 and CD-ROM Driver Installation
  56.  
  57.  
  58.                               Disk Release 1.3
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  @Pause
  65. @Endif
  66.  
  67. @CLS
  68. @EndDisplay
  69.  
  70.  
  71.  
  72. @If ("@Indrive"=="C")
  73.     @Display
  74.  
  75.     The install program must be run from a floppy drive.  Please use the  
  76.     <ESC> key and start over from the floppy drive.
  77.  
  78.      @Pause
  79.     @Abort
  80.     @EndDisplay
  81. @EndIf
  82.  
  83.  
  84. MenuMain:
  85.  
  86. @FlushOptions
  87.  @EnableF1(1)
  88.   @GetOption
  89.    @Cls
  90.     @LocalWindow (10,39)   
  91.     @Option 1000 = "GameWave 32 Installation (Configuration & Software)"
  92.     @Option 2000 = "CD-ROM Driver Installation"
  93.     @Option 4000 = "Orchid Sound Products"
  94.     @Option 5000 = "Orchid Video Products"
  95.     @Option 6000 = "Other Orchid Products"
  96.     @Option 7000 = "Orchid Technical Support"
  97.  
  98.  @EndOption
  99.  
  100.  @If (@Esc)
  101.      @Exit
  102.  @Elseif (@KeyF1)
  103.      @Goto MainMenuHelp
  104.  @ElseIf (1000 [= @Option)
  105.      @Goto MenuSwave
  106.  @ElseIf (2000 [= @Option)
  107.      @Goto MenuCDROM
  108.  @ElseIf (4000 [= @Option)   
  109.      @Help ("@ExePath\\install.hlp","HelpSound","EndSound")                   
  110.      @Goto MenuMain
  111.  @ElseIf (5000 [= @Option)   
  112.      @Help ("@ExePath\\install.hlp","HelpFah","EndFah")                   
  113.      @Goto MenuMain
  114.  @ElseIf (6000 [= @Option)   
  115.      @Help ("@ExePath\\install.hlp","HelpOtherp","EndOtherp")                   
  116.      @Goto MenuMain
  117.  @ElseIf (7000 [= @Option)   
  118.      @Help ("@ExePath\\install.hlp","HelpTchsupt","EndTchsupt")                   
  119.      @Goto MenuMain
  120.  @Else
  121.      @Goto MenuMain
  122.  @Endif
  123.  
  124.  
  125. MainMenuHelp:
  126.  
  127. @If (1000 [= @Option)  
  128.   @Help ("@ExePath\\install.hlp", "HelpSwave", "EndSwave")
  129. @ElseIf (2000 [= @Option)  
  130.   @Help ("@ExePath\\install.hlp", "HelpCDROM", "EndCDROM")
  131. @ElseIf (4000 [= @Option) 
  132.   @Help ("@ExePath\\install.hlp", "HelpSound", "EndSound")
  133. @Elseif (5000 [= @Option) 
  134.   @Help ("@ExePath\\install.hlp", "HelpFah", "EndFah")
  135. @Elseif (6000 [= @Option) 
  136.   @Help ("@ExePath\\install.hlp", "HelpOtherp", "EndOtherp")
  137. @Elseif (7000 [= @Option) 
  138.   @Help ("@ExePath\\install.hlp", "HelpTchsupt", "EndTchsupt")
  139.  
  140. @EndIf   
  141.  
  142. @Goto MenuMain
  143.  
  144.  
  145. MenuSwave:
  146.  
  147. @ClearOption (101) 
  148. @ClearOption (102)
  149. @EnableF1(1)
  150. @GetOption @Cls
  151.  Orchid driver and configuration options for Windows: 
  152.  (If you are installing GameWave 32 for the FIRST TIME, please press the
  153.  <F1> for MORE information about this configuration!)
  154.  (Network Server users, please read Help file by pressing the <F1> key.)
  155.  @LocalWindow (10,39)   
  156.  @Option 101 = "Standard Audio Installation"
  157.  @Option 102 = "Network Server Audio Installation"
  158. @EndOption
  159.  
  160. @If (@Esc)
  161.  @Goto MenuMain
  162. @ElseIf (@KeyF1)
  163.  @Help ("@ExePath\\install.hlp", "HelpConfig", "EndConfig") 
  164.  @Goto MenuSwave
  165. @Endif
  166.  
  167.  
  168.  
  169. MenuRETURN:
  170. @ClearOption(501)  
  171. @ClearOption(502) 
  172. @EnableF1(1)
  173.  
  174. @GetOption
  175.  @LocalWindow (10,40)
  176.  @Cls
  177.  Did you install an Orchid CD-ROM Drive (CDS-3110)?
  178.  (Hit the <F1> Key for more information.)
  179.  @Option 501 = "NO"
  180.  @option 502 = "YES"
  181. @EndOption
  182.  
  183. @If (@Esc)
  184.  @Goto MenuSwave
  185. @Elseif (@KeyF1)
  186.      @Help ("@ExePath\\install.hlp","HelpOrchidCD","EndOrchidCD")
  187. @Elseif (501 [= @Option)
  188.  @Goto MenuWorkDrive
  189. @Elseif (502 [= @Option)
  190.  @Goto MenuWorkDrive
  191. @Endif
  192. @Goto MenuRETURN 
  193.  
  194.  
  195.  
  196.  
  197. MenuWorkDrive:
  198. @If (102 [= @Option) 
  199.    @Goto MenuNetwork
  200. @Elseif (101 [= @Option)
  201.    @Goto MenuPCDrive
  202. @Endif 
  203.  
  204.  
  205. MenuNetwork:
  206.  @EnableF1(0)
  207.  @GetOutDrive @WorkDrive
  208.   @Suppress A
  209.   @Suppress B 
  210.   @Cls
  211.    Please select the drive letter for your Windows Working Directory.
  212.    (I.E. Location of WIN.COM)
  213.  @EndOutDrive
  214.  
  215.  @If (@Esc) @Goto MenuRETURN @EndIf
  216.  
  217.  
  218. MenuWorkDir:
  219.  @GetSubdir @WorkDir
  220.    @Default = "\\Windows"    
  221.    @Cls
  222.    Please select a subdirectory for your Windows Working Directory.
  223.    or press <ENTER> to accept the default: 
  224.  
  225.  @EndSubdir
  226.  
  227.  @If (@Esc) @Goto MenuWorkDrive @EndIf
  228.  
  229.  
  230. MenuPCDrive:
  231.  @EnableF1(0)
  232.  @GetOutDrive @PCDrive
  233.   @Suppress A
  234.   @Suppress B 
  235.   @Cls
  236.    Please select the drive letter for the GameWave32 files.
  237.  @EndOutDrive
  238.  
  239.  @If (@Esc) @Goto MenuRETURN @EndIf
  240.  
  241.  
  242. MenuPCDir:
  243.  @GetSubdir @PCDir
  244.    @Default = "\\GW32"    
  245.    @Cls
  246.    Please select a subdirectory for the Orchid Drivers and utilities
  247.    or press <ENTER> to accept the default: 
  248.  
  249.  @EndSubdir
  250.  
  251.  @If (@Esc) @Goto MenuPCDrive @EndIf
  252.  
  253.  
  254. MenuWinOne:
  255.  @EnableF1(0)
  256.  @GetOutDrive @WinDrive
  257.   @Suppress A
  258.   @Suppress B 
  259.   @Cls
  260.    Please select the drive letter where Microsoft Windows 3.1 is installed.
  261.    (Network Users, select the shared network Windows drive location.)
  262.  @EndOutDrive
  263.   
  264.  @If (@Esc) @Goto MenuPCDir @EndIf
  265.  
  266.  @GetSubdir @WinDir
  267.    @Default = "\\WINDOWS"    
  268.    @Cls
  269.    @msgDDD for Microsoft Windows 3.1:
  270.    @msgDir
  271.  
  272.  @EndSubdir
  273.  @If (@Esc) @Goto MenuWinOne @EndIf
  274.  
  275.  @ClearOption(1)
  276.  @ClearOption(2)
  277.  @EnableF1(0)
  278.  @GetOption
  279.   @LocalWindow (10,39) 
  280.    @If (@Exists "@WinDrive:\\@WinDir" == 0)
  281.      @Cls
  282.      @msgDDD
  283.      @WinDrive:@WinDir @msgDDNE
  284.      @msgCont
  285.    @ElseIf (102 [= @Option)
  286.     @Goto CopyFileWin
  287.    @ElseIf ((@Exists "@WinDrive:\\@WinDir\\winver.exe" == 0) ||
  288.            (@Exists "@WinDrive:\\@WinDir\\win.ini" == 0))
  289.     @Cls
  290.     @msgDDD
  291.     @msgNoFile
  292.     @WinDrive:@WinDir
  293.     @NameWin @msgNPI
  294.    @Else
  295.     @Goto CopyFileWin
  296.    @EndIf
  297.   @Option 1 = "@Reenter"
  298.   @Option 2 = "@Cont"
  299.  @EndOption
  300.  @If (@Esc)
  301.    @Goto MenuWinOne
  302.  @Elseif (1 [= @Option)
  303.    @Goto MenuWinOne
  304.  @Endif
  305.  
  306.  
  307.  
  308. CopyFileWin:
  309. @DefineDisk
  310.         @Label = "Disk #1"
  311.         @BeginLib GW32.001
  312.  
  313.                 @F mpu401.drv   @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101   
  314.                 @F msacm.drv    @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101   
  315.                 @F mcicda.drv   @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101   
  316.                 @F midimap.cfg  @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101   
  317.                 @F midimap.drv  @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101   
  318.                 @F genmid.ld    @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101
  319.                 @F mt32.ld      @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101
  320.                 @F vsbd.386     @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101
  321.                 @F vadlibd.386  @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101
  322.                 @F msadlib.drv  @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101
  323.                 @F sndblst2.drv @O @WinDrive:\@WinDir\SYSTEM\*.*  @Option 101
  324.                 
  325.                 @F msacm.drv    @O @WinDrive:\@WinDir\*.*  @Option 102   
  326.                 @F midimap.cfg  @O @WinDrive:\@WinDir\*.*  @Option 102   
  327.                 @F mt32.ld      @O @WinDrive:\@WinDir\*.*  @Option 102
  328.                 @F genmid.ld    @O @WinDrive:\@WinDir\*.*  @Option 102
  329.                 @F sndblst2.drv @O @WinDrive:\@WinDir\*.*  @Option 102
  330.                 
  331.                 @F gw32.exe     @O @PCDrive:\@PCDir\*.* 
  332.                 @F gw32.ini     @O @PCDrive:\@PCDir\*.* 
  333.                 @F swcd.sys     @O @PCDrive:\@PCDir\*.* 
  334.                 @F cdd.sys      @O @PCDrive:\@PCDir\*.*  @Option 502
  335.                 @F orchid.wav   @O @PCDrive:\@PCDir\*.* 
  336.                 @F genmid.ld    @O @PCDrive:\@PCDir\*.* 
  337.                 @F MT32.LD      @O @PCDrive:\@PCDir\*.*
  338.                 
  339.         @EndLib
  340. @EndDisk
  341.  
  342.  
  343.  
  344.  
  345. @If (101 [= @Option)
  346.  
  347.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "drivers", "WAVE=", "WAVE=sndblst2.drv", "REPLACE")
  348.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "drivers", "MIDI=", "MIDI=mpu401.drv", "REPLACE")
  349.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "drivers", "MIDI1=", "MIDI1=msadlib.drv", "REPLACE")
  350.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "drivers", "MIDI2=", "MIDI2=mpu401.drv", "REPLACE")
  351.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "drivers", "WaveMapper=", "WaveMapper=MSACM.DRV", "REPLACE")
  352.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "drivers", "midimapper=", "midimapper=midimap.drv", "REPLACE")
  353.  
  354.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "sndblst.drv", "port=", "port=220", "REPLACE")
  355.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "sndblst.drv", "int=", "int=7", "REPLACE")
  356.  
  357.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "mpu401.drv", "port=", "port=330", "REPLACE")
  358.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "mpu401.drv", "int=", "int=5", "REPLACE")
  359.  
  360.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "mci", "CDAudio=", "CDAudio=mcicda.drv", "REPLACE")
  361.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "mci", "Sequencer=", "Sequencer=mciseq.drv", "REPLACE")
  362.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "mci", "WaveAudio=", "WaveAudio=mciwave.drv 4", "REPLACE")
  363.  
  364.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "386Enh", "vsbd.386", "device=vsbd.386", "REPLACE")
  365.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "386Enh", "vadlibd.386", "device=vadlibd.386", "REPLACE")
  366.  
  367.  @WriteFile ("@WinDrive:\\@WinDir\\system.ini", "mciseq.drv", "disablewarning=", "disablewarning=true", "REPLACE")
  368.  
  369.  @WriteFile ("@WinDrive:\\@WinDir\\control.ini", "drivers.desc", "mpu401.drv=", "mpu401.drv=Roland MPU-401", "REPLACE")
  370. @Endif 
  371.  
  372. @If (102 [= @Option)
  373.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "drivers", "WAVE=", "WAVE=sndblst2.drv", "REPLACE")
  374.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "drivers", "MIDI=", "MIDI=mpu401.drv", "REPLACE")
  375.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "drivers", "MIDI1=", "MIDI1=msadlib.drv", "REPLACE")
  376.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "drivers", "MIDI2=", "MIDI2=mpu401.drv", "REPLACE")
  377.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "drivers", "WaveMapper=", "WaveMapper=MSACM.DRV", "REPLACE")
  378.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "drivers", "midimapper=", "midimapper=midimap.drv", "REPLACE")
  379.  
  380.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "sndblst.drv", "port=", "port=220", "REPLACE")
  381.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "sndblst.drv", "int=", "int=7", "REPLACE")
  382.  
  383.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "mpu401.drv", "port=", "port=330", "REPLACE")
  384.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "mpu401.drv", "int=", "int=5", "REPLACE")
  385.  
  386.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "mci", "CDAudio=", "CDAudio=mcicda.drv", "REPLACE")
  387.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "mci", "Sequencer=", "Sequencer=mciseq.drv", "REPLACE")
  388.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "mci", "WaveAudio=", "WaveAudio=mciwave.drv 4", "REPLACE")
  389.  
  390.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "386Enh", "vsbd.386", "device=vsbd.386", "REPLACE")
  391.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "386Enh", "vadlibd.386", "device=vadlibd.386", "REPLACE")
  392.  
  393.  @WriteFile ("@WorkDrive:\\@WorkDir\\system.ini", "mciseq.drv", "disablewarning=", "disablewarning=true", "REPLACE")
  394.  
  395.  @WriteFile ("@WorkDrive:\\@WorkDir\\control.ini", "drivers.desc", "mpu401.drv=", "mpu401.drv=Roland MPU-401", "REPLACE")
  396. @Endif 
  397.  
  398.  
  399. @If (502 [= @Option)   
  400. MenuWarn:
  401.  @ClearOption(60) 
  402.  @ClearOption(61)  
  403.  @EnableF1(1)
  404.  @GetOption
  405.      @LocalWindow (19,40)
  406.      @Cls
  407.  This line will be added to your AUTOEXEC.BAT file:
  408.   
  409.     @PCDrive:@PCDir\MSCDEX.EXE /D:MSCD0001 /M:10
  410.  
  411.  This line will be added to your CONFIG.SYS file:
  412.  
  413.     DEVICE=@PCDrive:@PCDir\CDD.SYS /D:MSCD0001 /P:360 
  414.  
  415.  Press the <F1> Key for more information about these files and why your 
  416.  CONFIG.SYS & AUTOEXEC.BAT file need to be updated.  A backup copy of your 
  417.  CONFIG.SYS and AUTOEXEC.BAT file will be made and called CONFIG.G32 and 
  418.  AUTOEXEC.G32.
  419.        
  420.  Note: Copy MSCDEX.EXE from your DOS 6.0 directory, or off of the CD-ROM 
  421.        installation diskette provided with the drive into your GW32
  422.        subdirectory.
  423.  
  424.      @Option 60 = "Continue, will modify your boot up files (CONFIG.SYS & AUTOEXEC.BAT)"
  425.      @Option 61 = "                    Do not modify boot up files!                 "
  426.  @EndOption
  427.  
  428.  @If (@Esc)
  429.       @Goto MenuMain
  430.  @ElseIf (@KeyF1)
  431.       @Help ("@ExePath\\install.hlp", "HelpMod", "EndMod") 
  432.       @Goto MenuWarn
  433.  @Elseif (60 [= @Option)
  434.          @If (@Exists "@BootDrive:\\config.g32" == 0)
  435.            @CatFiles ("@BootDrive:\\config.g32", "@BootDrive:\\config.sys")
  436.            @CatFiles ("@BootDrive:\\autoexec.g32", "@BootDrive:\\autoexec.bat")
  437.           @Goto MenuNext
  438.          @Elseif (@Exists "@BootDrive:\\config.g32" == 1)  
  439.            @Delete ("@BootDrive:\\config.g32")
  440.            @Delete ("@BootDrive:\\autoexec.g32")
  441.            @CatFiles ("@BootDrive:\\config.g32", "@BootDrive:\\config.sys")
  442.            @CatFiles ("@BootDrive:\\autoexec.g32", "@BootDrive:\\autoexec.bat")
  443.           @Goto MenuNext
  444.          @Endif
  445. MenuNext:      
  446.       @WriteFile ("@BootDrive:\\CONFIG.SYS", "NOSECTION", "CDD.SYS",
  447.              "DEVICE=@PCDrive:\\@PCDir\\CDD.SYS /d:MSCD0001 /P:360", "REPLACE")
  448.  
  449.       @WriteFile ("@BootDrive:\\autoexec.bat", "NOSECTION", "MSCDEX.EXE",
  450.              "@PCDrive:\\@PCDir\\MSCDEX.EXE /d:MSCD0001 /M:10", "REPLACE")
  451.       
  452.       @Goto MenuEnd
  453.  @Elseif (61 [= @Option)
  454.       @Display
  455.  
  456.  You will have to manually add the following line to your AUTOEXEC.BAT file:
  457.   
  458.     @PCDrive:@PCDir\MSCDEX.EXE /d:MSCD0001 /M:10
  459.  
  460.  You will have to manually add the following line to your CONFIG.SYS file:
  461.  
  462.     DEVICE=@PCDrive:@PCDir\SWCD.SYS /i:9 /a:360
  463.     DEVICE=@PCDrive:@PCDir\CDD.SYS /d:MSCD0001 /p:360 
  464.  
  465.       
  466.  Note: i=interrupt and a=I/O address, (a and p are the same address).
  467.        When GW32.EXE /C is run the SWCD.SYS device statement is added
  468.        to you CONFIG.SYS.
  469.  
  470.        Copy MSCDEX.EXE from your DOS 6.0 directory, or off of the CD-ROM 
  471.        installation diskette provided with the CD-ROM drive into your GW32
  472.        subdirectory.
  473.  
  474.        @Pause
  475.       @EndDisplay
  476.  @Endif
  477. @EndIf  
  478.  
  479. @If (61 [= @Option)
  480.  @ClearOption(78) 
  481.  @ClearOption(79)  
  482.  @EnableF1(0)
  483.  @GetOption
  484.      @LocalWindow (15,40)
  485.      @Cls
  486.      If your AUTOEXEC.BAT and CONFIG.SYS files are set to READ ONLY,
  487.      Choose the DO NOT run option.  The GW32 will modify your 
  488.      AUTOEXEC.BAT and CONFIG.SYS files.  After the installation is
  489.      completed, change those files to READ/WRITE format and run
  490.      "GW32 /C" from the GW32 subdirectory.
  491.  
  492.      @Option 78 = "Run the GW32.EXE program now (configure card)."
  493.      @Option 79 = "DO NOT run the GW32.EXE program."
  494.  @EndOption
  495. @EndIf
  496.  
  497. @If (@Esc)
  498.       @Goto MenuMain
  499.  @ElseIf (78 [= @Option)
  500.       @Goto MenuEnd
  501.  @Elseif (79 [= @Option)
  502.       @Goto MenuDONE
  503. @Endif
  504.  
  505. MenuEnd: 
  506. @Display
  507.  
  508.  @Cls
  509.  @ChDrive @PCDrive
  510.  @ChDir "@PCDir"
  511.  @System "GW32.EXE /C"
  512.  @ChDrive @StartupDrive
  513.  @ChDir "@StartupDir"
  514.  @Cls
  515.  
  516. @EndDisplay
  517.  
  518.  
  519. MenuDONE:
  520. @Help ("@ExePath\\install.hlp", "HelpSwave", "EndSwave")
  521. @Display
  522.   @Cls
  523.  
  524.  
  525.   
  526. ***************************************************************************
  527. **** Installation of the Orchid GameWave 32 Drivers are now completed. ****
  528. ***************************************************************************
  529.  
  530.  
  531.  @Pause
  532.  
  533. @EndDisplay
  534.  
  535. @Display
  536.  
  537.  
  538.  
  539.         FOR CHANGES TO TAKE PLACE, PLEASE REBOOT YOUR SYSTEM AFTER EXITING 
  540.         THIS INSTALLER.  PRESS ANY KEY TO CONTINUE.
  541.  
  542.   
  543.   @Pause
  544.  
  545. @EndDisplay
  546.                       
  547.                       
  548. @Goto MenuMain
  549. /*-------------------------------------------------------------------*/
  550.  
  551. MenuCDROM:
  552.  
  553. MenuDrive:
  554. @EnableF1(0)
  555. @GetOutDrive @PCDrive
  556.   If you are installing the GameWave 32 for the FIRST time, Press
  557.   the <ESC> key and run the GameWave 32 Installation.  If you are adding
  558.   the Orchid CD-ROM Drive to a system with a GameWave 32 already
  559.   installed, please continue.
  560.  
  561.   Choose the destination drive for the driver files:
  562.  @LocalWindow (12,39)   
  563.   @Suppress A
  564.   @Suppress B 
  565.  @EndOutDrive
  566.  
  567.  @If (@Esc) @Goto MenuMain @EndIf
  568.  
  569.  
  570.  @GetSubdir @PCDir
  571.    @Default = "\\GW32"    
  572.    @Cls
  573.    The driver files will be copied into this sub-directory, unless you
  574.    select another sub-directory.
  575.  
  576.  
  577.  @EndSubdir
  578.  
  579.  @If (@Esc) @Goto MenuDrive @EndIf
  580.  
  581.  
  582. MenuFile:
  583. @DefineDisk
  584.  @Label = "Disk #1"
  585.  @BeginLib GW32.001
  586.  
  587.   @F CDD.SYS     @O @PCDrive:\@PCDir\*.*  
  588.          
  589.   @If (@Exists "@PCDrive:\\@PCDir\\gw32.exe" == 0)
  590.       @F gw32.exe     @O @PCDrive:\@PCDir\*.* 
  591.       @F gw32.ini     @O @PCDrive:\@PCDir\*.* 
  592.       @F swcd.sys     @O @PCDrive:\@PCDir\*.* 
  593.   
  594.   @EndIf
  595.  @EndLib
  596. @EndDisk
  597.  
  598. MenuWarns:
  599.  @ClearOption(63) 
  600.  @ClearOption(64)  
  601.  @EnableF1(1)
  602.  @GetOption
  603.      @LocalWindow (19,40)
  604.      @Cls
  605.  This line will be added to your AUTOEXEC.BAT file:
  606.   
  607.     @PCDrive:@PCDir\MSCDEX.EXE /D:MSCD0001 /M:10
  608.  
  609.  This line will be added to your CONFIG.SYS file:
  610.  
  611.     DEVICE=@PCDrive:@PCDir\CDD.SYS /D:MSCD0001 /P:360 
  612.  
  613.  Press the <F1> key for more information about these files and why your 
  614.  CONFIG.SYS & AUTOEXEC.BAT file need to be updated.  A backup copy of your 
  615.  CONFIG.SYS and AUTOEXEC.BAT file will be made and called CONFIG.G32 and 
  616.  AUTOEXEC.G32.
  617.        
  618.  Note: Copy MSCDEX.EXE from your DOS 6.0 directory, or off of the CD-ROM 
  619.        installation diskette provided with the drive into your GW32
  620.        subdirectory.
  621.  
  622.      @Option 63 = "Continue, will modify your boot up files (CONFIG.SYS & AUTOEXEC.BAT)"
  623.      @Option 64 = "                    Do not modify boot up files!                 "
  624.  @EndOption
  625.  
  626.  @If (@Esc)
  627.       @Goto MenuMain
  628.  @ElseIf (@KeyF1)
  629.       @Help ("@ExePath\\install.hlp", "HelpMod", "EndMod") 
  630.       @Goto MenuWarns
  631.  @Elseif (63 [= @Option)
  632.          @If (@Exists "@BootDrive:\\config.g32" == 0)
  633.            @CatFiles ("@BootDrive:\\config.g32", "@BootDrive:\\config.sys")
  634.            @CatFiles ("@BootDrive:\\autoexec.g32", "@BootDrive:\\autoexec.bat")
  635.           @Goto MenuNexts
  636.          @Elseif (@Exists "@BootDrive:\\config.g32" == 1)  
  637.            @Delete ("@BootDrive:\\config.g32")
  638.            @Delete ("@BootDrive:\\autoexec.g32")
  639.            @CatFiles ("@BootDrive:\\config.g32", "@BootDrive:\\config.sys")
  640.            @CatFiles ("@BootDrive:\\autoexec.g32", "@BootDrive:\\autoexec.bat")
  641.           @Goto MenuNexts
  642.          @Endif
  643. MenuNexts:      
  644.       
  645.  
  646.  
  647.  
  648.       
  649.       @WriteFile ("@BootDrive:\\CONFIG.SYS", "NOSECTION", "CDD.SYS",
  650.              "DEVICE=@PCDrive:\\@PCDir\\CDD.SYS /d:MSCD0001 /P:360", "REPLACE")
  651.  
  652.       @WriteFile ("@BootDrive:\\autoexec.bat", "NOSECTION", "MSCDEX.EXE",
  653.              "@PCDrive:\\@PCDir\\MSCDEX.EXE /d:MSCD0001 /M:10", "REPLACE")
  654.       
  655.       
  656.       
  657.       
  658.       @Goto MenuEnds
  659.  @Elseif (64 [= @Option)
  660.       @Display
  661.  
  662.  You will have to manually add the following line to your AUTOEXEC.BAT file:
  663.   
  664.     @PCDrive:@PCDir\MSCDEX.EXE /d:MSCD0001 /M:10
  665.  
  666.  You will have to manually add the following line to your CONFIG.SYS file:
  667.  
  668.     DEVICE=@PCDrive:@PCDir\SWCD.SYS /i:9 /a:360
  669.     DEVICE=@PCDrive:@PCDir\CDD.SYS /d:MSCD0001 /p:360 
  670.  
  671.       
  672.  Note: i=interrupt and a=I/O address, (a and p are the same address).
  673.        When GW32.EXE /C is run the SWCD.SYS device statement is added
  674.        to you CONFIG.SYS.
  675.       
  676.        Copy MSCDEX.EXE from your DOS 6.0 directory, or off of the CD-ROM 
  677.        Installation diskette provided with the CD-ROM drive into your GW32
  678.        subdirectory.
  679.  
  680.        @Pause
  681.       @EndDisplay
  682.  @Endif
  683. @EndIf  
  684.  
  685. @If (64 [= @Option)
  686.  @ClearOption(88) 
  687.  @ClearOption(89)  
  688.  @EnableF1(0)
  689.  @GetOption
  690.      @LocalWindow (15,40)
  691.      @Cls
  692.      If your AUTOEXEC.BAT and CONFIG.SYS files are set to READ ONLY,
  693.      Choose the DO NOT run option, because the GW32 will modify your
  694.      AUTOEXEC.BAT and CONFIG.SYS files.  After the installation is
  695.      completed, change those files to READ/WRITE format and run
  696.      "GW32 /C" from the GW32 subdirectory.
  697.  
  698.      @Option 88 = "Run the GW32.EXE program now (configure card)."
  699.      @Option 89 = "DO NOT run the GW32.EXE program."
  700.  @EndOption
  701. @Endif
  702.  
  703. @If (@Esc)
  704.       @Goto MenuMain
  705.  @ElseIf (88 [= @Option)
  706.       @Goto MenuEnds
  707.  @Elseif (89 [= @Option)
  708.       @Goto MenuDONEs
  709. @Endif
  710.  
  711.  
  712.  
  713. MenuEnds: 
  714.  
  715. @Display
  716.  
  717.  @Cls
  718.  @ChDrive @PCDrive
  719.  @ChDir "@PCDir"
  720.  @System "GW32.EXE /C"
  721.  @ChDrive @StartupDrive
  722.  @ChDir "@StartupDir"
  723.  @Cls
  724.  
  725. @EndDisplay
  726.  
  727. MenuDONEs:
  728.  
  729. @Help ("@ExePath\\install.hlp", "HelpCDROM", "EndCDROM")
  730. @Display
  731.   @Cls
  732.  
  733.  
  734.   
  735. ***************************************************************************
  736. **** The installation of the Orchid CDROM Drivers are now completed.   ****
  737. ***************************************************************************
  738.  
  739.  
  740.  @Pause
  741.  @Goto MenuMain
  742. @EndDisplay
  743. @GotoMenuMain
  744.  
  745.  
  746.       
  747.  
  748.