/*

  Revision History
  ----------------
  $Date:$
  $Log:$
   
*/

@DefineProject
   /* Ignore white square character -- used as translation delimiter */
   @Ignore 219
   @Name     = "ÛHarvard Graphics 3 ScreenShow ProjectorÛ"
   @SubDir   = "\\HG3SHOW"
   @Version  = "3.0"
   @Requires @HardDisk
   @Outdrive = C
   @Label    = "ÛHarvard Graphics 3 ScreenShow Projector Disk 1Û"
@EndProject

@Display
   @TopLine = "ÛPress ÄÙ to continueÛ"
   @Message = "Û    Harvard Graphics 3 ScreenShow Projector Install       Û"
              "Û                                                          Û"
              "ÛWelcome to Install.  You use this program to install all  Û"
              "Ûof the Harvard Graphics ScreenShow Projector files.       Û"
              "ÛThis table gives you the approximate time and space       Û"
              "Ûneeded to install the files.                              Û"
              "Û                                                          Û"
              "ÛProcessor                                     Time        Û"
              "Û----------------------------------------------------------Û"
              "Û80286                                    3 to 4 minutes   Û"
              "Û80386                                    2 to 3 minutes   Û"
              "Û80486                                    1 to 2 minutes   Û"
              "Û----------------------------------------------------------Û"
              "ÛSpace required                           1.7 Megabytes    Û"
              "Û                                                          Û"
              "ÛIf any problem messages appear while you're installing,   Û"
              "Ûsee Appendix A of the Harvard Graphics 3.0 User's Manual. Û"
@EndDisplay

/* Top-level repeat loop.  This loop allows the user to  */
/*  specify the drive and the path for the installation. */
@Repeat
   /* First get drive to install files to. */
   @GetOutDrive
      @EscapeBack
      @Title = "ÛHarvard Graphics 3 ScreenShow Projector InstallÛ"
      @TopLine = "Û , Press ÄÙ to continueÛ"
      @Suppress A               /* don't display A: */
      @Suppress B               /* or B: */
      @Cls















      Û              Use the arrow keys to select the drive Û
      Û              you want to install to, and press ÄÙ. Û
   @EndOutDrive

   /* Now get the sub-directory. */
   @GetSubDir
      @EscapeBack
      @TopLine = "ÛPress ÄÙ to continueÛ"
      @Cls




      @PROMPT = "ÛHG 3 ScreenShow Projector InstallÛ"




      Û       Press ÄÙ to install the files in the \HG3SHOW directory Û
      Û       (Harvard Graphics ScreenShow Projector creates this      Û
      Û       directory for you).                                      Û
      Û                                                                Û
      Û       To enter a different directory, use the Backspace key to Û
      Û       erase HG3SHOW and enter your own directory name.  If the Û
      Û       directory doesn't exist, Harvard Graphics ScreenShow     Û
      Û       Projector creates it for you.                            Û
      Û                                                                Û
      Û       If you have Harvard Graphics 2.3 ScreenShow Projector    Û
      Û       (or earlier) installed on your computer, avoid confusion Û
      Û       by installing this version in a separate directory.      Û
   @EndSubDir

   /* Initialize all of the options. */
   @ClearOption 1-1000

   /* Install all of the files. */
   @SetOption 2-3

   @If ( @Exists "@OutDrive:@SubDir\\HG3SHOW.EXE" )
      @If ( @DiskFree @OutDrive < 500000 )
        /* Not enough disk space and the program has ALREADY been installed. */
        @SetOPtion 99
      @EndIf
   @ElseIf ( /*#AUTO#*/ (2 [= @Option) && (@DiskFree @OutDrive < 1658880) )
      /* Not enough disk space and the program has NOT been installed. */
      @SetOPtion 99
   @EndIf

   @If (99 [= @Option)
      @GetOption
         @Cls














                ÛThere is not enough space on your hard disk toÛ
                Ûinstall the files.  Do you want to select a   Û
                Ûdifferent hard disk, or return to DOS?        Û
                @Option 100 = "ÛSelect a different diskÛ"
                @Option 101 = "ÛReturn To DOSÛ"
      @EndOption
   @Else
      @If ( @Exists "@OutDrive:@SubDir\\HG3SHOW.EXE" )
         /* Inform the user that we are about to write over */
         /*  their current version of HG3.                  */
         @GetOption
            @Cls















             ÛYou already have a version of Harvard Graphics ScreenShow Û
             ÛProjector installed in this directory.  Choose "Yes" to   Û
             Ûinstall over the existing version.  Choose "No" to specifyÛ
             Ûa new drive and subdirectory.                             Û
            @TopLine = "ÛPress ÄÙ to continueÛ"
            @Title = "ÛInstall over existing version?Û"
            @Option 200 = "ÛYesÛ"
            @Option 201 = "ÛNoÛ"
         @EndOption
      @EndIf

      @If (201 [= @Option)
         @SetOption 201
      @ElseIf ( @Exists "@OutDrive:@SubDir\\HG3.FGF" &&
                @Exists "@OutDrive:@SubDir\\HG3.OVL" )
         /* Inform the user that we are about to write over */
         /*  their current version of the font index file.  */
         @GetOption
            @Cls















             ÛYou already have a version of the Harvard Graphics FontÛ
             ÛIndex File (HG3.FGF) installed in this directory.  ThisÛ
             Ûmay change the fonts available in Harvard Graphics.    Û
             ÛChoose "Yes" to copy over the existing file.  Choose   Û
             Û"No" to keep the existing file.                        Û
            @TopLine = "ÛPress ÄÙ to continueÛ"
            @Title = "ÛInstall over existing Font Index File?Û"
            @Option 150 = "ÛYesÛ"
            @Option 151 = "ÛNoÛ"
         @EndOption
      @EndIf
   @EndIf

   @If (101 [= @Option)
      /* Return to DOS. */
      @ExitRepeat
   @ElseIf (100 [= @Option || 201 [= @Option)
      /* Don't do anything so the loop will be reiterated and the */
      /*  user can select another drive/path for installation.    */
      @ClearOption 20
   @Else
      /* Install the files. */

      @If (151 [= @Option)
        /* Do not install the Font Index file (HG3.FGF). */
        @ClearOption 3
      @EndIf

      /*#DEFINEDISK#*/
      @DefineDisk
         @Label = "ÛHarvard Graphics 3 ScreenShow Projector Disk 1Û"

         @BeginLib PROGRAM1.LIF
            @File  HG3SHOW.EXE @Out *.* @Option 2
            @File  HG3SHOW.CF3 @Out *.* @Option 2
            @File  HG3SHOW.PIF @Out *.* @Option 2
            @File  HG3SHOW.ICO @Out *.* @Option 2
            @File  MSMOUSE.IN3 @Out *.* @Option 2
            @File    SUMMA.IN3 @Out *.* @Option 2
            @File      HG3.PL3 @Out *.* @Option 2
            @File      HG3.FGF @Out *.* @Option 3
            @File  EGAMONO.SC3 @Out *.* @Option 2
            @File  HG4LITE.FN3 @Out *.* @Option 2
            @File      EGA.SC3 @Out *.* @Option 2
         @EndLib
      @EndDisk

      @DefineDisk
         @Label = "ÛHarvard Graphics 3 ScreenShow Projector Disk 2Û"

         @BeginLib PROGRAM2.LIF
            @File BX000012.SPD @Out *.* @Option 2
            @File BX000014.SPD @Out *.* @Option 2
            @File BX000011.SPD @Out *.* @Option 2
            @File BX000013.SPD @Out *.* @Option 2
            @File BX000596.SPD @Out *.* @Option 2
            @File BX000486.SPD @Out *.* @Option 2
            @File BX000484.SPD @Out *.* @Option 2
            @File BX000485.SPD @Out *.* @Option 2
         @EndLib
      @EndDisk

      @DefineDisk
         @Label = "ÛHarvard Graphics 3 ScreenShow Projector Disk 3Û"

         @BeginLib PROGRAM3.LIF
            @File BX000483.SPD @Out *.* @Option 2
            @File BX000004.SPD @Out *.* @Option 2
            @File BX000006.SPD @Out *.* @Option 2
            @File BX000101.SPD @Out *.* @Option 2
            @File BX000003.SPD @Out *.* @Option 2
            @File BX000005.SPD @Out *.* @Option 2
            @File BX000100.SPD @Out *.* @Option 2
            @File  640X480.CLR @Out *.* @Option 2
            @File  640X350.CLR @Out *.* @Option 2
            @File  HG6BOLD.FN3 @Out *.* @Option 2
            @File      HG3.ERR @Out *.* @Option 2
            @File  HG3BOLD.FN3 @Out *.* @Option 2
            @File  640X350.B&W @Out *.* @Option 2
            @File  HG5BOLD.FN3 @Out *.* @Option 2
            @File  HG4BOLD.FN3 @Out *.* @Option 2
            @File  HG3LITE.FN3 @Out *.* @Option 2
            @File  HG5LITE.FN3 @Out *.* @Option 2
            @File      VGA.SC3 @Out *.* @Option 2
         @EndLib
      @EndDisk
      /*#DEFINEDISK#*/

      /* Install the selected files. */
      @Install
         @TopLine = "ÛPress ÄÙ to continueÛ"
         @Message = "ÛAll files have been installed.Û"
         @SetOption 20
      @EndInstall
   @EndIf

   @If (20 [= @Option)
      /* Exit Install. */
      @ExitRepeat
   @EndIf

@EndRepeat

@If (20 [= @Option)
   /* Inform the user how to invoke Harvard Graphics. */
   @Welcome
      @TopLine = "ÛPress ÄÙ to return to DOS.Û"
      @Message = "ÛHarvard Graphics 3 ScreenShow Projector InstallÛ"
                 "ÛÛ"
                 "ÛTo start Harvard Graphics ScreenShow Projector, typeÛ"
                 "ÛHG3SHOW at the DOS prompt and press ÄÙ.Û"
   @EndWelcome
@EndIf

@Finish
   @If (20 [= @Option)
      /* Make the drive/directory that contains HG3 the */
      /* current directory.                             */
      @ChDrive @OutDrive
      @ChDir   "@SubDir"
   @EndIf
@EndFinish
