home *** CD-ROM | disk | FTP | other *** search
- echo off
- :start
- cls
- echo Loading Installation Program, please wait...
-
- :chkdsk1
- if exist \hb_data.exe goto inst_0
- if exist \hb_progs.exe goto er_miss
- if exist \hb_1 goto er_miss
- if exist \hb_2 goto er_miss
- if exist \menu_hb.exe goto er_miss
- goto er_inst
-
- :inst_0
- if not exist \hb_data.exe goto er_miss
- if not exist \hb_progs.exe goto er_miss
- if not exist \hb_1 goto er_miss
- if not exist \hb_2 goto er_miss
- if not exist \menu_hb.exe goto er_miss
-
- cls
- set HBDRV=A:
- \menu_hb.exe
- if errorlevel 255 goto esc
- if errorlevel 254 goto 111
- if errorlevel 240 goto vid_error
- goto theend
-
- :esc
- cls
- echo Installation Aborted !
- set HBDRV=
- goto theend
-
- :111
- cls
- type %HBDRV%\hb_1
- echo
- echo To continue, press any key...
- pause > nul
- cls
- type %HBDRV%\hb_2
- echo
- echo Press any key to resume with HELP/BUILD installation...
- pause > nul
- cls
- echo Installing HELP/BUILD onto your system, please wait...
- %HBDRV%\hb_data.exe -o \ufil > nul
- %HBDRV%\hb_progs.exe -o > nul
-
- rem Test for the existence of all HELP/BUILD files
-
- if not exist bld_cref.com goto er_full
- if not exist build.com goto er_full
- if not exist help.com goto er_full
- if not exist help_c.com goto er_full
- if not exist help_f.com goto er_full
- if not exist help_flp.com goto er_full
- if not exist help_l.com goto er_full
- if not exist help_o.com goto er_full
- if not exist help_s.com goto er_full
- if not exist init_hlp.exe goto er_full
- if not exist show_id.com goto er_full
- if not exist \ufil\bldhelp.hc goto er_full
- if not exist \ufil\demosys.hc goto er_full
- if not exist \ufil\demosys.hnc goto er_full
- if not exist \ufil\demosys.htb goto er_full
- if not exist \ufil\demosys.hxt goto er_full
- if not exist \ufil\doshelp.hc goto er_full
- if not exist \ufil\keydata.dat goto er_full
-
- rem Initialize the necessary HELP/BUILD files with the company id.
- init_hlp.exe
-
- cls
- help \ufil\doshelp -p
- echo UFIL HELP has now been loaded.
- echo Please do not remove HELP/BUILD disk from the drive!
- echo Strike any key to continue with installation!
- pause > nul
- cls
- help_f bldhelp 1
- set HBDRV=
- cls
- echo ┌────────────────────────────────────────────────────────────────────────┐
- echo │ │
- echo │ HELP/BUILD is now installed. │
- echo │ │
- echo │ You can now remove the HELP/BUILD disk from the drive. │
- echo │ │
- echo └────────────────────────────────────────────────────────────────────────┘
- echo
- goto theend
-
-
- :er_miss
- cls
- echo ╔════════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ ERROR - you are missing one or more of the HELP/BUILD files. ║
- echo ║ Please contact your dealer for a replacement package. ║
- echo ║ Sorry for any inconvenience. ║
- echo ║ ║
- echo ╚════════════════════════════════════════════════════════════════════════╝
- echo
- goto theend
-
- :er_full
- cls
- echo ╔════════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ ERROR - one or more of the HELP/BUILD data files was not copied ║
- echo ║ onto your system. Check to see that your system has ║
- echo ║ enough room for these files and then try re-installing ║
- echo ║ HELP/BUILD again. ║
- echo ║ ║
- echo ╚════════════════════════════════════════════════════════════════════════╝
- echo
- goto theend
-
- :er_inst
- cls
- echo ╔════════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ ERROR - the install program was not able to install HELP/BUILD ║
- echo ║ successfully. Please be sure the HELP/BUILD disk is ║
- echo ║ in the current/default drive before running the install ║
- echo ║ program again. ║
- echo ║ ║
- echo ║ If our package still does not install, please contact ║
- echo ║ your HELP/BUILD sales representative for a replacement ║
- echo ║ package. We apologize for any inconvenience. ║
- echo ║ ║
- echo ╚════════════════════════════════════════════════════════════════════════╝
- echo
- goto theend
-
- :vid_error
- cls
- echo ╔════════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ You are currently operating in a graphics mode. Please configure ║
- echo ║ your video system to a text mode before trying to install HELP/BUILD. ║
- echo ║ ║
- echo ╚════════════════════════════════════════════════════════════════════════╝
- echo
- goto theend
-
- :theend