home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s038 / 3.ddi / CONTINUE.DAT < prev    next >
Encoding:
Text File  |  1992-07-15  |  13.1 KB  |  403 lines

  1.  
  2. /*
  3.  *  Set the variable for the free disk space required depending upon the
  4.  *  product we are installing.
  5.  */
  6. @DefineVars
  7.     @If ('A'[=@Group)
  8.         @Integer @SpaceReq = 15700000
  9.     @ElseIf ('F'[=@Group)
  10.         @Integer @SpaceReq = 10700000
  11.     @ElseIf ('R'[=@Group)
  12.         @Integer @SpaceReq = 5000000
  13.     @ElseIf ('T'[=@Group)
  14.         @Integer @SpaceReq = 5200000
  15.     @EndIf
  16. @EndVars
  17.  
  18. /*
  19.  *  Check if there is enough disk space to run this installation
  20.  */
  21. @If ((@DiskFree @OutDrive) < @SpaceReq)
  22.     @Display
  23.         @Cls
  24.         The disk drive you selected to install onto may not have enough
  25.     free space for the product you have selected.  It is estimated that
  26.     you need at least @SpaceReq bytes of free disk space to successfully
  27.     install the product you have requested.
  28.  
  29.         If you wish to cancel the installation to free up more space on
  30.     your hard disk, press [Esc] now.  To continue the installation process,
  31.     press any other key.
  32.  
  33.         @Pause
  34.     @EndDisplay
  35. @EndIf
  36.  
  37.  
  38. /*
  39.  *  Get the system we will be installing on unless only tools are installed
  40.  */
  41.  
  42. @If (!('T'[=@Group))
  43.     @GetOption
  44.         @Option 1 = " @Name for IBM and Compaq Compatibles                   "
  45.         @Option 2 = " @Name for iSBC 386SX Multibus I platform               "
  46.         @Option 3 = " @Name for iSBC 486DX33 or 486SX25 Multibus II platform "
  47.         @Cls
  48.         System Specification Screen:
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.         Use the arrow keys to move the highlighted selection bar to the
  56.         system that @Name will be installed on.
  57.         After making your selection, press [Enter].
  58.  
  59.     @EndOption
  60.  
  61. /*
  62.  *  Job loading questions go here
  63.  */
  64.     @If (@ExtTotal < 4M)
  65.         @DefineVars
  66.             @QString @Lomem = "T"
  67.         @EndVars
  68.         @Display
  69.             @Cls
  70.     @Name @Version requires 4 megabytes of extended memory
  71.     to run standard mode Windows version 3.1.  This computer has only
  72.     @ExtTotal bytes of extended memory installed.
  73.  
  74.     Since this computer does not have enough memory for Standard Mode
  75.     Windows or the iRMX Extended Memory Manager, the jobs which support
  76.     these features will not be loaded in the @OutDrive:\RMX386\CONFIG\LOADINFO
  77.     file.  To use these features, you will need to add more memory to
  78.     this computer.
  79.  
  80.         @Pause
  81.         @EndDisplay
  82.         @GetGroups
  83.             @Set N = " Set up system for Networking "
  84.             @Set Z = " Do not set up for Networking "
  85.             @Cls
  86.         Network Setup Screen:
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.         To indicate your choice of networking options, use the [Up Arrow]
  94.         and [Down Arrow] keys to move the highlighted selection bar to
  95.         the line which corresponds to your choice of options and press
  96.         [ENTER].
  97.         
  98.         @EndGroups
  99.     @Else
  100.         @DefineVars
  101.             @QString @Lomem = "F"
  102.         @EndVars
  103.         @GetGroups
  104.             @CheckBox
  105.             @Set W = " Standard Mode Windows Support "
  106.             @Set N = " iRMX Networking               "
  107.             @Set H = " iRMX Extended Memory Manager  "
  108.             @Cls
  109.     Startup Job Selection Screen:   
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.     This installation program will custom-build your LOADINFO file to load
  117.     the jobs specified here on system startup.
  118.  
  119.     To load all the indicated jobs into the system at startup, press [Enter].
  120.     If you do not wish to load one or more of the jobs, use the [Down Arrow]
  121.     and [Up Arrow] keys to move the highlighted selection bar to the job you
  122.     DO NOT want loaded.  Then press the [Spacebar] to change the YES to a NO.
  123.  
  124.     When you are finished with your selections, press [Enter].
  125.  
  126.     Note:  Pressing the [Spacebar] will also change a NO to a YES.
  127.  
  128.     For an explanation of the various system jobs, see the System
  129.     Configuration and Administration manual.
  130.         @EndGroups
  131.     @EndIf
  132.  
  133. /*
  134.  *
  135.  */
  136.     @GetSubDir @WinDir
  137.     Windows Subdirectory Specification Screen:
  138.  
  139.     @Name @Version includes utilities such as WTERM.EXE, a
  140.     program which allows use of the iRMX Human Interface from Windows,
  141.     and ROUTER.EXE, which routes DDE messages between computers on a
  142.     network.  These files should be placed in the Windows directory
  143.     tree (those subdirectories where Windows 3.1 is currently installed).
  144.     To use these utilities, you must type the name of the correct Windows
  145.     directory below, and run Windows Setup after this installation is
  146.     finished to enable these programs to be run from Windows.
  147.     
  148.     Please enter the directory where Windows 3.1 is installed.
  149.  
  150.  
  151.     @EndSubDir
  152.     
  153. /*
  154.  *  If we have a PC platform and are loading the network job, ask what type
  155.  *  of PCLink board is being used.
  156.  */
  157.     @If ((1[=@Option) && ('N'[=@Group))
  158.         @GetGroups
  159.             @Set U = " PCL2                     "
  160.             @Set V = " PCL2A                    "
  161.             @Set O = " No iRMX-based networking "
  162.             @Cls
  163.     Network Interface Adapter Selection Screen:
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.     Indicate the type of PCL2 NIA board installed in your computer.
  171.     Use the arrow keys to move the highlighted selection bar to the type
  172.     of adapter in your computer, then press [Enter].
  173.  
  174.         @EndGroups
  175.     @EndIf
  176. @EndIf
  177.  
  178. @DefineVars
  179.     @QString @PCL2DirStr = "@OutDrive:\\PCLR3"
  180. @EndVars
  181.  
  182. @If (('U'[=@Group) || ('V'[=@Group))
  183.     @GetString @PCL2DirStr
  184.         @If ('V'[=@Group) @Prompt = "Enter the PCL2A directory: " @Else
  185.                           @Prompt = "Enter the PCL2 directory: " @EndIf @Cls
  186.    @If ('V'[=@Group) PCL2A Directory Selection Screen
  187.    @Else PCL2 Directory Selection Screen
  188.    @EndIf
  189.         This utility will set up the MSNET.INI file residing in your
  190.        @If ('V'[=@Group) PCL2A directory to allow use of the @Name network
  191.        @Else PCL2 directory to allow use of the @Name network
  192.        @EndIf redirector.  In order to allow this utility to set the MSNET.INI
  193.         file up correctly, you should type in the drive and directory
  194.        @If ('V'[=@Group) where the software for your PCL2A is currently installed.
  195.        @Else where the software for your PCL2 is currently installed.
  196.        @EndIf
  197.         Please specify in the space below the drive and directory where
  198.        @If ('V'[=@Group) your PCL2A software is located.
  199.        @Else your PCL2 software is located.
  200.        @EndIf
  201.  
  202.     @EndString
  203. @EndIf
  204.  
  205. /*
  206.  *    Set the PCL2Info variable depending upon the desired networking and return
  207.  *    status of the program which checks the MSNET.INI file
  208.  */
  209. @DefineVars
  210.     @If (('U'[=@Group) || ('V'[=@Group))
  211.         @If (@Spawn("@InDrive:\\CHKMSNET @PCL2DirStr") == 2)
  212.             @Integer @PCL2Info = 2
  213.         @Else
  214.             @If (@Spawn("@InDrive:\\CHKMSNET @PCL2DirStr") == 1)
  215.                 @Integer @PCL2Info = 1
  216.             @Else
  217.                 @Integer @PCL2Info = 0
  218.             @EndIf
  219.         @EndIf
  220.     @Else
  221.         @Integer @PCL2Info = 3
  222.     @EndIf
  223. @EndVars
  224.  
  225. /*
  226.  *    Give user information if we tried to find MSNET.INI but couldn't
  227.  */
  228. @If (@PCL2Info == 2)
  229.     @Display
  230.         @Cls
  231.         This installation utility could not find the file:
  232.  
  233.             @PCL2DirStr\MSNET.INI
  234.  
  235.         The file @OutDrive:\DOSRMX\MSNET.RDR must be added to the end of your
  236.         MSNET.INI file, and the file @OutDrive:\DOSRMX\PCNET.EXE must be copied
  237.         to your PCL2(A) directory in order to use DOS networking via the
  238.         iRMX network redirector.  For more information, see the file
  239.         @OutDrive:\DOSRMX\README.RDR once this installation has completed.
  240.  
  241.  
  242.         @Pause
  243.     @EndDisplay
  244. @EndIf
  245.  
  246. /*
  247.  *  Check for files that may already be present - tell user how to handle
  248.  *  things if they are
  249.  */
  250.  
  251. @ChDrive @OutDrive
  252. @Chmod("@OutDrive:\\RMX386\\CONFIG\\ENV", "h-")
  253. @If (((@Exists "@OutDrive:\\RMX386\\CONFIG\\UDF") ||
  254.       (@Exists "@OutDrive:\\RMX386\\CONFIG\\TERMINAL") ||
  255.       (@Exists "@OutDrive:\\RMX386\\CONFIG\\ENV") ||
  256.       (@Exists "@OutDrive:\\RMX386\\CONFIG\\LOADINFO") ||
  257.       (@Exists "@OutDrive:\\RMX386\\CONFIG\\RMX.INI")) &&
  258.      (('F'[=@Group) || ('R'[=@Group) || ('A'[=@Group)))
  259.     @Display
  260.     @Cls
  261.  
  262.     The following files already exist on your system:
  263.     @If (@Exists "@OutDrive:\\RMX386\\CONFIG\\LOADINFO")
  264.         @OutDrive:\RMX386\CONFIG\LOADINFO @EndIf @If (@Exists
  265.          "@OutDrive:\\RMX386\\CONFIG\\RMX.INI")
  266.         @OutDrive:\RMX386\CONFIG\RMX.INI @EndIf @If (@Exists
  267.          "@OutDrive:\\RMX386\\CONFIG\\UDF")
  268.         @OutDrive:\RMX386\CONFIG\UDF @EndIf @If (@Exists
  269.          "@OutDrive:\\RMX386\\CONFIG\\TERMINAL")
  270.         @OutDrive:\RMX386\CONFIG\TERMINAL @EndIf @If (@Exists
  271.          "@OutDrive:\\RMX386\\CONFIG\\ENV")
  272.         @OutDrive:\RMX386\CONFIG\R'?'ENV @EndIf
  273.  
  274.     The system default versions of these files will be written to the
  275.     @OutDrive:\RMX386\CONFIG\DEFAULT directory, but your files will not be
  276.     changed.  You should make sure that your current verions of these files
  277.     will work with @Name @Version.
  278.  
  279.  
  280.     @Pause
  281.     @EndDisplay
  282. @EndIf
  283. @Chmod("@OutDrive:@RMXDir\\CONFIG\\INIT", "h-")
  284.  
  285.  
  286. /*
  287.  *  Make any changes necessary to the CONFIG.SYS and AUTOEXEC.BAT files for
  288.  *  the software to run.
  289.  */
  290.  
  291. @SetConfig
  292.     @OverWrite
  293.     @Buffers = 40 /* @NBufs */
  294.     @Files = 64 /* @Nfiles */
  295.     @If ('R'[=@Group || 'F'[=@Group || 'A'[=@Group) @LastDrive = F @EndIf
  296. @EndConfig
  297.  
  298. @Display
  299.     @Cls
  300.     This program has checked your @BootDrive:\CONFIG.SYS file to verify that
  301.     the number of accessible FILES is at least 64 and that the number of
  302.     available BUFFERS is greater than 40.  It is important that these
  303.     settings not be lowered for @Name to load and run correctly. @If
  304.     ('R'[=@Group || 'F'[=@Group || 'A'[=@Group)
  305.     It also has checked to make sure that the LASTDRIVE variable is set
  306.     to F or greater. @EndIf
  307.  
  308.     If any of these changes are necessary, the program will create a
  309.     CONFIG.NEW file in @BootDrive:\.
  310.  
  311.     A recent enhancement to our product now allows the HIMEM.SYS
  312.     device driver to be loaded in your CONFIG.SYS file.  Any other device
  313.     drivers which use extended memory should not be loaded.  See page 2-6
  314.     in your @Name Read This First manual for a list of some
  315.     programs which should not be loaded in your CONFIG.SYS file. After this
  316.     installation is complete, remove these lines from the CONFIG.SYS file
  317.     that this installation utility will create, then reboot your system
  318.     before starting @Name.
  319.  
  320.     @Pause
  321. @EndDisplay
  322.  
  323. @SetAutoexec
  324.     @OverWrite
  325.     @If ('A'[=@Group)
  326.         @Path = "@OutDrive:@DRMXDir;@OutDrive:@ToolBinDir"
  327.     @ElseIf ('F'[=@Group || 'R'[=@Group)
  328.         @Path = "@OutDrive:@DRMXDir"
  329.     @ElseIf ('T'[=@Group)
  330.         @Path = "@OutDrive:@ToolBinDir"
  331.     @EndIf
  332.     @If ('A'[=@Group || 'T'[=@Group)
  333.         @SetReplace(":INCLUDE:", "@OutDrive:\\INTEL\\IC386\\INC")
  334.     @EndIf
  335.     @If ('A'[=@Group || 'F'[=@Group || 'R'[=@Group)
  336.         @Verbatim "TYPE @OutDrive:@DRMXDir\\STARTUP.TXT"
  337.     @EndIf
  338. @EndAutoexec
  339.  
  340. @Display
  341.     @Cls
  342.     This program will check your AUTOEXEC.BAT file and update the PATH
  343.     statement @If (('F'[=@Group) ||
  344.     ('R'[=@Group)) to include the @OutDrive:\DOSRMX directory for RMX files, and the
  345.     @OutDrive:\INTEL\BIN directory for your development tools.
  346.     @ElseIf ('A'[=@Group) to include the @OutDrive:\DOSRMX directory.
  347.     @ElseIf ('T'[=@Group) to include the @OutDrive:\INTEL\BIN directory.
  348.     @EndIf
  349.     If any of these changes are necessary, the program will create an
  350.     AUTOEXEC.NEW file in @BootDrive:\.
  351.     
  352.     Please note that your AUTOEXEC.BAT file should not load any programs
  353.     which make use of extended memory.  Remove any lines which invoke
  354.     any such programs from your AUTOEXEC.BAT file and reboot before
  355.     attempting to load @Name.
  356.  
  357.     @Pause
  358. @EndDisplay
  359.  
  360.  
  361. /*
  362.  *  Display prompt asking users to fill out registration card
  363.  */
  364.  
  365. @If ('A'[=@Group || 'F'[=@Group || 'R'[=@Group)
  366.     @Display
  367.         @Cls
  368.     @Name files are about to be transferred onto drive @OutDrive.  The
  369.     program may take up to a minute to read information from the
  370.     installation disk and begin installing the product.  The installation
  371.     will have begun when the words "Installing @Name - Please
  372.     Wait . . . ." have appeared in the top left hand corner of the screen.
  373.  
  374.     This is a good time to fill out the registration card in your Important
  375.     Customer Information Booklet.  When completed and mailed, this
  376.     registration will allow us to send you information on product updates,
  377.     as well as entitle you to call for customer support.
  378.  
  379.     This installation program will also prompt you for your company name
  380.     and software serial number once it has installed @Name.
  381.     The serial number can be found just above the registration card on
  382.     page 3 of your Important Customer Information Booklet.  Entering this
  383.     serial number will also enable our customer support representatives to
  384.     serve you more effectively.
  385.  
  386.         @Pause
  387.     @EndDisplay
  388. @EndIf
  389.  
  390.  
  391. /*
  392.  *  Begin Disk Definition statements
  393.  */
  394.  
  395. @If (!('T'[=@Group))
  396.     @Chain("Disk 1 Of 9", "@InDrive:\\DSKDEF1.DAT")
  397. @Else
  398.     @Chain("Disk 6 Of 9", "@InDrive:\\DSKDEF6.DAT")
  399. @EndIf
  400.  
  401. /*  Ending files will chain back to the FINISH.DAT file */
  402.  
  403.