home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1997-03-24 | 12.8 KB | 431 lines |
- /*
- * Install Installation Script File
- *
- *
- * $Archive: /Modems/400 Series/disk-retail/INSTALL.DAT $
- * $Date: 3/24/97 2:11p $
- * $Revision: 29 $
- *
- * Note that the 'C' in the version number designates a cirrus
- * based modem, and that no designator means rockwell
- */
-
- @DEFINEPROJECT
- @Name = "Modem Drivers and Utilities"
- @Version = "4.2"
- @Immediate = 1
- @OutDrive = C
- @SubDir = "\\MODEM"
- @EndProject
- /*=========================================================================*/
- @DefineVars
- @Qstring @Product = "Modem Driver & Utilities"
- @Integer @TextColor = 27
- @Integer @ROW = 1
- @Integer @COL = 0
- @Integer @COLOR5 = 31
- @Dir @WinDir = "\\WINDOWS"
- @Drive @WinDrv = C
- @Integer @OEM = 1
- @EndVars
-
- @If (@Exists("@InDrive:Support.txt"))
- @OEM = 0
- @endif
- /*=========================================================================*/
- @if (@OEM == 0)
- @display
- @CLS
- @enddisplay
- @MoveCStr(2+10,19,116,"┌─────────────────────────────────────┐")
- @MoveCStr(2+11,19,116,"│ │")
- @MoveCStr(2+12,19,116,"│ │")
- @MoveCStr(2+13,19,116,"│ │")
- @MoveCStr(2+14,19,116,"│ │")
- @MoveCStr(2+15,19,116,"│ │")
- @MoveCStr(2+16,19,116,"│ ┌──────────────────────────┐ │")
- @MoveCStr(2+17,19,116,"│ │ R E S E A R C H , I N C .│ │")
- @MoveCStr(2+18,19,116,"└─────┴──────────────────────────┴────┘")
- @MoveCStr(2+11,25,113,"█████ ██████ ██████ ██████")
- @MoveCStr(2+12,25,113,"██ █ ██ ██ ██ ██ ██")
- @MoveCStr(2+13,25,113,"██████ ██ ██ ██ ██████")
- @MoveCStr(2+14,25,113,"██ █ ██ ██ ██ ██ ██")
- @MoveCStr(2+15,25,113,"██████ ██████ ██████ ██ ██")
-
-
- @MoveCStr(@ROW+0,@COL+0,@COLOR5," █▀█ █▀▀█ █▀▀█ █▀▀█")
- @MoveCStr(@ROW+1,@COL+0,@COLOR5," █▀▀█ █ █ █ █▀▀█")
- @MoveCStr(@ROW+2,@COL+0,@COLOR5," ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀ ▀")
- @MoveCStr(@ROW+3,@COL+0,@COLOR5,"")
- @MoveCStr(@ROW+4,@COL+0,@COLOR5," █▀█▀█ █▀▀█ █▀▀█ █▀▀▀ █▀█▀█")
- @MoveCStr(@ROW+5,@COL+0,@COLOR5," █ █ █ █ █ █ █ █▀ █ █ █")
- @MoveCStr(@ROW+6,@COL+0,@COLOR5," ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀ ▀")
- @MoveCStr(@ROW+7,@COL+0,@COLOR5,"")
- @MoveCStr(@ROW+8,@COL+0,@COLOR5,"")
- @MoveCStr(@ROW+9,@COL+0,@COLOR5," Modem Drivers and Utilities ")
-
- @MoveCStr(21,01,31," Copyright(c) 1993-1997 Boca Research, Inc. All rights reserved. ")
- @MoveCStr(22,01,31," Press any key to continue...")
-
- @spawn("KBHIT 90");
- @endif /* OEM=0 */
- /*=========================================================================*/
-
- @Display
- @Cls
- @Name
- Release @Version
-
-
- This program will install the @Product
- on your computer and verify the integrity of the distribution
- disk. You may press the [Esc] key at any time to abort the
- installation.
-
- Each question has a default answer. If the default answer is correct,
- press the ENTER key in response to the question. Otherwise, type the
- answer and then press the ENTER key.
-
- If you make a mistake while typing, press the BACKSPACE key and then
- retype the answer.
-
- @Pause
- @EndDisplay
-
- /*=========================================================================*/
- @if (((@OSMajor * 100) +@OSMinor) > 650)
- @GetOption
-
-
-
-
-
-
-
-
-
-
- Install has detected that you MAY be using Windows 95.
-
- Users of Windows 95 must exit install and follow the
- instructions in the manual. The modem you are installing is
- a Plug and Play device and is installed by Windows 95
- instead of Install.
-
- @Option 105 = "This computer uses Windows 95."
- @Option 108 = "This computer DOES NOT USE Windows 95."
- @Option 106 = "Exit Install."
- @Option 107 = "Install anyway."
-
-
- @EndOption
- @endif
-
- @if( 106 [= @Option)
- @exit
- @endif
-
- /*=========================================================================*/
-
- @if( 105 [= @Option)
- @Display
- @Cls
-
-
-
-
- Users of Windows 95 must exit install and follow the
- instructions in the manual. The modem you are installing is
- a Plug and Play device and is installed by Windows 95
- instead of Install.
-
-
- Install will now exit...
-
- @Pause
- @EndDisplay
- @exit
- @endif
-
- /*=========================================================================*/
- /*
- @if (@ISINWINDOWS != 0)
- @Getoption
-
-
-
-
-
-
- Install has detected that you are currently running
- Microsoft Windows.
-
- Install recommends that you exit install now, then exit
- Microsoft Windows before running install from the DOS
- prompt.
-
- @Option 106 = "Exit Install."
- @Option 107 = "Install anyway."
-
-
- @EndOption
- @endif
- */
- @if( 106 [= @Option)
- @exit
- @endif
-
-
- /*=========================================================================*/
- @if (@PNPBIOS != 0)
- @GetOption
- Install has detected your system has what is known as Plug
- and Play BIOS or you are already running a Plug and Play
- Configuration Utility.
-
- This Modem is a Plug and Play modem that can be configured
- by your system. We have provided a utility to help you
- determine how your system has configured the modem. That
- utility is called 'Locate'.
-
- ┌──────────────────────────────────────────────────────────────┐
- │ We recommend that you accept the settings your system uses │
- │ and use the 'Locate' utility to determine how the modem is │
- │ configured. │
- └──────────────────────────────────────────────────────────────┘
-
- ADVANCED USERS: Optionally, advanced users can install the
- 'Setmodem' utility for custom modem configuration.
- @LocalWindow (21,40)
- @Option 1105 = "Install the 'Locate' utility."
- @Option 1106 = "Exit Install."
- @Option 1107 = "Install the SETMODEM utility."
- @EndOption
- @else
- /*=========================================================================*/
-
- /*=========================================================================*/
- @Display
- @Cls
- Install detected a NON-Plug and Play System.
-
-
- This modem is a Plug and Play device. A configuration
- utility will be copied to your hard disk which will enable
- you to configure your modem's COM port and IRQ settings.
-
- The utility is called 'Setmodem'.
-
-
-
- @Pause
- @EndDisplay
- /* if there is NOT pnp bios then we want to set the option..
- for setmodem
- */
- @SetOption(1107)
- @endif
-
-
-
- /*=========================================================================*/
- @if( 1106 [= @Option)
- @exit
- /*=========================================================================*/
-
- @Getoption
-
-
-
-
-
-
-
-
-
- Install recommends that it copy the files to drive @BOOTDRIVE:
-
- @Option 500 = "Continue."
- @Option 501 = "Choose Another Drive"
- @Option 502 = "Exit Install."
-
- @EndOption
- @if( 500 [= @Option)
- @OutDrive=C
- @Goto DriveDone
- @endif
-
- @if( 502 [= @Option)
- @exit
- @endif
-
-
- /*=========================================================================*/
- /*=========================================================================*/
- /*=========================================================================*/
-
-
- @GetOutDrive @Outdrive
- @suppress A:
- @suppress B:
- @Cls
- On which drive do you wish to install the
- @Name ?
- @EndOutDrive
-
- DriveDone:
-
- @GetSubdir
- @Cls
- To which directory do you want to install the programs?
-
-
-
- @PROMPT = " Which directory? "
- @EndSubdir
- @Endif
-
-
- /*=========================================================================*/
-
- /*=========================================================================*/
-
-
- @DefineDisk
- @Label = "Disk #1"
- @File SETMODEM.MSG @Out SETMODEM.MSG @Option 1107
- @File SETMODEM.EXE @Out SETMODEM.EXE @Option 1107
- @File ESCD.RF @Out C:\\ESCD.RF @NoOverwrite @Option 1107
- @File DWCFGMG.SYS @Out C:\\DWCFGMG.SYS @NoOverwrite @Option 1107
- @File LOCATE.EXE @Out LOCATE.EXE @Option 1105
-
- @EndDisk
- /*=========================================================================*//*=========================================================================*/
- /*=========================================================================*/
- /*=========================================================================*/
- @if( 1107 [= @Option)
- @Write ("@OutDrive:\\@Subdir\\setmodem.ini","wt",";Setmodem Configuration File. Do Not Modify\n")
- @Write (,,";Use SETMODEM to configure the modem\n")
- @Write (,,"[System]\n");
- @Write (,,"LO_LID0=18698\n");
- @Write (,,"HI_LID0=4\n");
- @Write (,,"LO_LID1=18698\n");
- @Write (,,"HI_LID1=20\n");
- @Write (,,"LO_LID2=18698\n");
- @Write (,,"HI_LID2=36\n");
- @Write (,,"LO_LID3=18698\n");
- @Write (,,"HI_LID3=52\n");
- @Write (,,"LO_LID4=18698\n");
- @Write (,,"HI_LID4=68\n");
- @Write (,,"LO_LID5=18698\n");
- @Write (,,"HI_LID5=84\n");
- @Write (,,"LO_LID6=18698\n");
- @Write (,,"HI_LID6=100\n");
- @Write (,,"LO_LID7=18698\n");
- @Write (,,"HI_LID7=116\n");
- @Write (,,"LO_LID8=18698\n");
- @Write (,,"HI_LID8=132\n");
- @Write (,,"LO_LID9=18698\n");
- @Write (,,"HI_LID9=148\n");
- @Write (,,"LO_LID10=18698\n");
- @Write (,,"HI_LID10=164\n");
- @Write (,,"LO_LID11=18698\n");
- @Write (,,"HI_LID11=180\n");
- @Write (,,"LO_LID12=18698\n");
- @Write (,,"HI_LID12=196\n");
- @Write (,,"LO_LID13=18698\n");
- @Write (,,"HI_LID13=212\n");
- @Write (,,"LO_LID14=18698\n");
- @Write (,,"HI_LID14=228\n");
- @Write (,,"LO_LID15=18698\n");
- @Write (,,"HI_LID15=244\n");
- @Write (,,"LO_LID16=18698\n");
- @Write (,,"HI_LID16=21\n");
- @Write (,,"LO_LID17=18698\n");
- @Write (,,"HI_LID17=53\n");
-
- /*=========================================================================*/
- @SetConfig
- @overwrite
- @Device="C:\\DWCFGMG.SYS"
- @endconfig
- /*=========================================================================*/
-
- @display
- @cls
-
-
- @name has been installed.
-
- Use the @OutDrive:@Subdir\SETMODEM command to configure the modem
- or view the modems configuration.
-
-
- @pause
- @enddisplay
- @endif
- /*=========================================================================*/
- /*=========================================================================*/
- /*=========================================================================*/
- /*=========================================================================*/
- @if( 1105 [= @Option)
- @display
- @cls
-
-
- The 'Locate' Utility has been installed.
-
- Use the @OutDrive:@Subdir\locate command to view the
- modems configuration.
-
-
- @pause
- @enddisplay
- @endif
- /*=========================================================================*/
-
- @Finish
-
-
- @reboot("Your system will now reboot.",1)
-
- @EndFinish
-
- /*=========================================================================*/
-
-
- SETMODEM and related utilities are
- COPYRIGHT(c) 1994-1997 by
- Boca Research Inc.
- Boca Software Engineering Department
- Boca Raton, FL 33487
- Visit our website at http://www.bocaresarch.com
-
- Com√check is a registered of Boca Research Inc.
-
- /*=========================================================================*/
- /*=========================================================================*/
- /*
- The following statement is provided to comply with licensing
- stipulations for this install utility.
-
- ------------------------------------------------------------------
- | The installation program used to install these utilities, |
- | INSTALL, is licensed software provided by Knowledge |
- | Dynamics Corp, P.O. Box 780068, San Antonio, Texas, 78278 |
- | (USA). INSTALL is copyright (c) 1987-1993 by Knowledge |
- | Dynamics Corp which reserves all copyright protection |
- | worldwide. INSTALL is provided to you for the exclusive |
- | purpose of installing these utilites. The provider of the |
- | utilities is exclusively responsible for the support of |
- | these utilities, including support during the install phase. |
- | In no event will Knowledge Dynamics Corp provide any |
- | technical support for these utilities |
- ------------------------------------------------------------------
- */
- /*=========================================================================*/
-
- /*=========================================================================*/
- /*=========================================================================*/
-
-