Installing HFL

Installing HFL

Copying the HFL files

  • The first step is to copy the HFL files into the directory where you wish them to permanently reside. We will refer to this as the 'install directory'.
  • You may place your files wherever you wish.
  • For the purposes of the examples in this file, we will assume that the HFL files were copied into folder 'C:\Common\HFL'. So when reading the instructions, just substitute your actual location for 'C:\Common\HFL'.

Running the setup program

  • There are two ways that HFL can be installed.
    • Install Option 1: You can add the install directory to your path.
    • Install Option 2: You can copy the .bat files to another location, and add that directory to your path. This option would be used when you already have a main batch file directory, and do not wish to increase the size of you PATH environment variable.
  • To install HFL, it is necessary to execute the installation script in a command window that is in 'as Administrator' mode.
    1. In Windows Explorer, open the subfolder 'setup' within the HFL folder, then right-click on the file 'setup.bat'.
    2. Choose 'Run as administrator' from the right-click menu. This will launch the HFL installer program.
    3. You will first be asked where to install the HFL batch files. For example:
      • --------------------------------------------
                  HFL INSTALLER VER 1.0
        --------------------------------------------
           INSTALLING HFL INTO DIR |C:\Common\HFL|

        INSTALL HFL BATCH FILES IN |C:\Common\HFL| [y]?

      • If you respond with 'y', it will add the install directory to your path.
      • If you respond with 'n', you will be prompted for where to place the batch files that invoke the compiler. For example:
      • INSTALL HFL BATCH FILES IN |C:\Common\HFL| [y]?  n
        ENTER BATCH FILE LOCATION
          ?  C:\Shared\batch

    4. You will then be asked if you wish to add the HFL path to the system 'PATH' environment variable:
      • ADD |C:\Common\HFL| TO PATH? [n]  y

      • If you are installing using the second option, and that directory is already in you path, you may skip this step by answering 'n'.
      • If you answer 'y', the batch file location that you selected (either the install directory or the batch file directory) will be added to your path.
    5. Finally, you will be asked to confirm that you wish to update your system. If you answer 'y' to this, the changes will be applied. If the first installation option was chosen, it will add the HFL install directory to your path. If the second option was chosen, it will copy the batch files to the directory that you named, and add that directory to your path if you requested it.
      • --------------------------------------------
        WILL INSTALL HFL BATCH FILES IN DIRECTORY
           |C:\Common\HFL|
        --------------------------------------------

        OK TO UPDATE SYSTEM (y/n) [n]?  y

        INSTALL COMPLETE
        Press any key to continue . . .

    6. Hit the 'Enter' key to close 'setup.bat'
Previous: HFL Language Differences Next: Compiling HFL Files