/* * FILE: * ORIGIN.Install (coded by DAZ 6/4/90) * * DESC: * This is the first version of the ORIGIN Install program. * It has options for installations on drives C or D, with * the subdirectory of \ORIGIN being the only one available. * * Checking is done for CPU type and aborts for 8086/8088 types. * * WINDOWS versubdir checking is done, but no version check yet. * PATH modification is done when needed/allowed. */ @DefineProject @Name = "Origin(Working Model)" @Version = "1.0" @Subdir = "\\ORIGIN\\" @OutDrive = C @Requires @HardDisk @Requires 1M /* @Terse*/ @EndProject @DefineVars @Dir @subdir2 = "\\samples" @EndVars @Display @Cls Welcome to @Name! This program will install @Name Version @Version on your PC. Simply answer the questions when prompted by the program. If you are not sure of the answer to any question, just press [Enter] to accept the default. @Pause @EndDisplay /* This block seems to work fine. */ @GetOutDrive @Cls Select the drive for installing @Name. Note: It is necessary that you install @Name on your hard drive. Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move the bar to the disk drive you wish to install to and then press the [Enter] key. @EndOutDrive /* This block seems to work fine. */ @Display @If (@Exists "@OutDrive:\\") @Else @Cls The selected drive @OutDrive: does not appear to exist. ==> Installation is now terminated. <== Please check that drive @OutDrive: does exist and is formatted properly for DOS usage before trying to install @Name on it again. @Pause @Abort @EndIf @EndDisplay @Display @If (@DiskFree @OutDrive < 1M) The selected disk drive has only @DiskFree @OutDrive bytes. You will need 1 Megabyte free for @Name to be installed. Installation will now abort. Please check your disk drives and disks before re-attempting installation. @Pause @Abort @EndIf @EndDisplay @Display @If (@Exists "@OutDrive:\\WINDOWS\\WIN.com") @Else @Cls You do not appear to have Microsoft WINDOWS files installed. Please make sure that you have WINDOWS installed properly before attempting to run @Name. (If you have already installed WINDOWS in a subdirectory other than @OutDrive:\WINDOWS, you can probably ignore this message). @Pause @EndIf /* This block seems okay now. */ @EndDisplay @If (@Exists "@OutDrive:\\@Subdir\\ORIGINWM.exe") @GetOption @Cls You appear to already have @Name installed. Do you want to overwrite the existing copy? @Option 100 = "No" @Option 200 = "Yes" @Option 300 = "Not Sure" (Installing a new version of ORIGIN will not overwrite any documents other than those demo documents that come with the program) @EndOption @EndIf /* This block seems okay now (IF cond. not met w/"ORIGIN.*", tho). */ @If (100 [= @Option) @Display @Cls ==> Installation is now terminated. <== If you want to install a new version of @Name but you still wish to keep your previous @Name program files, remove your existing @Name files from the \ORIGIN subdirectory (either copy them to another subdirectory or another disk for safekeeping). Once this is done, type INSTALL to re-start the INSTALL program. @Pause @Abort @EndDisplay @EndIf /* This block seems okay. */ @DefineDisk @Label = "ORIGIN Disk 1" @File Origin.INI @File Origin.CNF @File labutil.DLL @File labmath.DLL @File function.otp @File Origin.otp @File demo.org @File readme.txt @BeginLib ORIGIN.LIF @File *.EXE @File *.D* @Out @Subdir2\\*.* @File *.O* @Out @Subdir2\\*.* @File *.hlp @EndLib @EndDisk /* This block seems okay now. */ @Finish @Cls @Name has been successfully installed on your Hard Drive in the @OutDrive:@Subdir subdirectory. To run @Name, (assuming WINDOWS is already installed) just type in (from @OutDrive:@Subdir): WIN ORIGINWM Sample data is located in the @OutDrive:@Subdir@Subdir2 subdirectory for you to use in learning the program. @Pause @ChDrive @OutDrive @ChDir "@Subdir" @EndFinish /* end-of-file */