home *** CD-ROM | disk | FTP | other *** search
- /*
- * iRMX(R) For Windows* Release 2.0B Installation Script
- * Copyright 1992, Intel Corporation. All Rights Reserved.
- *
- * * iRMX is a Registered Trademark of Intel Corporation
- */
-
- @DefineProject
- @Name = "iRMX For Windows"
- @Version = "Release 2.0B"
- @OutDrive = C
- @Requires @HardDisk
- @Immediate = 1
- @EndProject
-
-
- /*
- * Define all variables - subdirectories in particular - we will be using
- * to install this package.
- */
-
- @DefineVars
- @If (@DriveRemote(@InDrive))
- @Integer @Network = 1
- @Integer @Tools = 0
- @Else
- @Integer @Network = 0
- @Integer @Tools = 1 // Can change to zero for toolless inst.
- @EndIf
- @Dir @ConfigDir = "\\RMX386\\CONFIG"
- @Dir @LangDir = "\\LANG286"
- @Dir @RMXDir = "\\RMX386"
- @Dir @DRMXDir = "\\DOSRMX"
- @Dir @Util3Dir = "\\UTIL386"
- @Dir @PCL2Dir = "\\PCLR3"
- @Dir @WinDir = "\\WINDOWS"
-
- @Integer @NFiles = 64 // Minimum values for
- @Integer @NBufs = 40 // CONFIG.SYS variables
-
- @Dir @ToolDir = "\\INTEL" // Directories for ADK
- @Dir @ToolBinDir = "@ToolDir\\BIN" // programming tools
- @EndVars
-
-
- /*
- * Tell the user what's up with this installation package and checks for
- * required hardware/DOS version.
- */
-
- @Display
- @Cls
-
- This installation program installs @Name* on
- your computer system and verifies the integrity of the
- installed files. It gives you the option of installing only
- selected parts of @Name, such as development tools.
-
- If you have any questions during or after the installation of
- this product, please call Intel's iRMX Customer Support, at
- 1-800-INTEL-4-U (prompt 2, then 4) or direct at 1-503-696-5025
- for assistance. For non-U.S.A. customers, please contact your
- local Intel Sales Office or distributor.
-
- You can press the [Esc] key at any time to quit the installation.
-
- * iRMX is a Registered Trademark of Intel Corporation
-
-
- @Pause
- @EndDisplay
-
- /*
- * Check this system for an 80386- or later processor
- */
- @If (@CPU < 386)
- @GetOption
- @Option 65533 = " Yes "
- @Option 65532 = " No "
-
- Is @Name currently running on this system?
-
-
-
-
-
-
- Use the [Up Arrow] and [Down Arrow] keys to move the highlighted
- selection bar over your answer and press [Enter].
-
- @EndOption
- @If (65532[=@Option)
- @Display
- @Cls
- This system has an 80@CPU microprocessor, but the @Name
- software can only be executed on systems with 80386 or higher
- processors. The installation cannot be completed.
-
- Press any key to terminate this installation.
-
-
-
- @Pause
- @Abort
- @EndDisplay
- @EndIf
- @EndIf
-
- /*
- * Check this system for DOS 3.3 or later
- */
- @If ((@OSMajor * 100) + @OSMinor < 330)
- @Display
- @Cls
- @Name software requires DOS version 3.3 or later to run.
- Your operating system appears to be version @OSMajor.@OSMinor.
-
- Do you wish to continue the installation? Press the [Esc] key to
- stop the installation, or any other key to continue.
-
-
- @Pause
- @EndDisplay
- @EndIf
-
- /*
- * Check for the minimum amount of conventional DOS-addressable memory
- */
- @If (@RAMTotal < 640000)
- @Display
- @Cls
- @Name software requires a system with 640K bytes of
- conventional memory. There is only @RAMTotal bytes installed
- on this system.
-
-
- @Pause
- @EndDisplay
- @Endif
-
- /*
- * Check this system for enough memory to install
- */
- @If (@RAMAvail < 400000)
- @Display
- @Cls
- This system has only @RAMAvail bytes of conventional RAM memory free.
- There must be at least 400 Kbytes of memory to install @Name
- correctly. Use the DOS command CHKDSK or MEM to find out how much free
- conventional memory this system has available.
-
- Check your AUTOEXEC.BAT and CONFIG.SYS files for any TSR programs or
- device drivers that may be taking up this memory. Please remove enough
- of these to raise your available conventional memory above 400K, and
- then install again.
-
- Press any key to terminate this installation.
- @Pause
- @Exit
- @EndDisplay
- @EndIf
-
-
- /*
- * Allow the user to select the drive the system is being installed on (don't
- * permit installation onto a floppy drive - A: or B:).
- */
-
- @GetOutDrive
- @Suppress A
- @Suppress B
- @Cls
- Disk Drive Selection:
-
-
-
-
-
-
-
-
-
-
-
-
- Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move
- the highlighted selection bar to the disk drive where you wish to
- install the @Name software and then press [Enter].
-
- @EndOutDrive
- @ChDrive @OutDrive
-
-
- /*
- * Allow the users options for selecting the type of product they want -
- * whether the full O.S. or the runtime modules only, which hardware version
- * of the system to use, and any DTO tools to use.
- */
-
- @GetGroups
- @If (@Tools == 0)
- /* 123456789a123456789b123456789c123456789d123456789e + 12 = 62 */
- @Set F = " @Name (10.7 Mb) "
- @Set R = " @Name Runtime Files Only (4.8 Mb) "
- @Else
- /* 123456789a123456789b123456789c123456789d123456789e */
- @Set A = " @Name Product with Development Tools (15.7 Mb) "
- @Set F = " @Name Product Only (10.7 Mb) "
- @Set R = " @Name Runtime Files Only (4.8 Mb) "
- @Set T = " Install Only Development Tools (5.0 Mb) "
- @EndIf
- @LocalWindow(7,40)
- @Cls
- Product Selection Screen:
- Approx. Disk
- Product Space Required
-
-
-
-
-
-
- Select whether to install the full @Name product,
- the runtime version, or development tools.
-
- Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move
- the highlighted selection bar to the product you wish to install
- and then press [Enter].
-
- @EndGroups
-
-
- /*
- * Check if this system has enough extended memory to run iRMX for Windows.
- */
- @If ((@ExtTotal < 2M) && (!('T'[=@Group)))
- @Display
- @Cls
- This program cannot detect enough extended memory on this computer
- to run @Name.
-
- Do you wish to continue the installation? Press the [Esc] key to stop
- the installation, or any other key to continue.
-
- @Pause
- @EndDisplay
- @EndIf
-
-
- /*
- * Give Runtime Product license warning
- */
-
- @If ('R'[=@Group)
- @Display NOTICE
- You are about to install the @Name runtime product.
- Installation of the runtime software requires an iRMX Software
- Redistribution License Agreement which gives you the right to make a
- limited number of copies.
- If you need to make copies of the software, please contact the
- Incorporations Administrator to register for an @Name
- Incorporation product.
-
- Incorporations Administrator telephone numbers:
-
- (503) 696-5075 United States (503) 696-5198 U.S. Fax
- ++44 793 696 516 Europe ++44 793 480 779 Europe Fax
- 0298-47-8511 x2724 Japan
-
- The runtime software is copyrighted and is protected by United States
- copyright laws and international treaty provisions. You will not remove
- the copyright notice from the runtime software, and agree to prevent any
- unauthorized copying of the runtime software.
- @Pause
- @EndDisplay
- @EndIf
-
-
- /*
- * Check if product is already installed - verify overwrite with user
- * and exit if we should keep the old installation
- */
-
- @If ((@Exists "@OutDrive:\\DOSRMX\\LOADRMX.EXE") &&
- ('F'[=@Group || 'R'[=@Group || 'A'[=@Group))
- @GetOption
- @Option 65535 = "Yes"
- @Option 65534 = "NO "
- The @Name product appears to already be installed
- on drive @OutDrive:. Do you wish to delete the prior version?
-
-
-
- @If ('R'[=@Group)
- WARNING! All files in the @Name runtime directory tree
- will be deleted by this utility. Except for files in the CONFIG,
- @Name utility and language directories, the contents of
- @OutDrive:\DOSRMX, @OutDrive:\RMX386 and its children will be deleted.
- @Else @If ('F'[=@Group)
- WARNING! All files in the @Name directory tree
- will be deleted by this utility. Except for files in the CONFIG,
- @Name utility and language directories, the contents of
- @OutDrive:\DOSRMX, @OutDrive:\RMX386 and its children will be deleted.
- @Else @If ('T'[=@Group)
- WARNING! All files in the directory tree under @OutDrive:\INTEL will be
- deleted by this utility.
- @Else
- WARNING! All files in the @Name runtime directory tree
- will be deleted by this utility. Except for files in the CONFIG,
- @Name utility and language directories, the contents of
- @OutDrive:\DOSRMX, @OutDrive:\RMX386 and its children will be deleted.
- This utility will also delete all files under the @OutDrive:\INTEL
- subdirectory tree.
- @EndIf @EndIf @EndIf
- If there are any files in these directories that you need to save,
- move the highlighted selection bar over NO and press ENTER. This
- program will exit to DOS to allow you to copy these files to another
- disk and restart the installation procedure.
-
- @EndOption
- @If (65534[=@Option)
- @Display
- @Cls
-
- No changes made - program exiting.
-
-
- @Pause
- @Exit
- @EndDisplay
- @EndIf
- @EndIf
-
- /*
- * Chain to the directory wipeout script - it will come back to CONTINUE.DAT
- */
- @DefineVars
- @If (65535[=@Option)
- @If ('R'[=@Group)
- @QString @ChainFile = "@InDrive:\\DEL_RNTM.DAT"
- @Else
- @If ('F'[=@Group)
- @QString @ChainFile = "@InDrive:\\DEL_FULL.DAT"
- @Else
- @QString @ChainFile = "@InDrive:\\DEL_TOOL.DAT"
- @EndIf
- @EndIf
- @Else
- @QString @ChainFile = "@InDrive:\\CONTINUE.DAT"
- @EndIf
- @EndVars
-
- @Chain("Disk 1 Of 9", "@ChainFile")
-
-