Echo " *E[32mInstallation script for vFont version 2.0*E[0m*N*N"
Ask "*E[0;3mAre you sure that you want to install the vFont package?*E[0m"
if not warn
skip abort
endif
setenv oldcwd `cd`
if not exists InstallVFont
if not <from>
Ask "*E[0;3mAre you at the directory where you un-packed the archive?*E[0m"
if not warn
echo " *E[33mEither move to that directory and use this script again*N or start this script with the that directory as parameter.*E[0m*N"
skip abort
endif
else
echo "[Moving to the archive directory]"
cd <from>
endif
endif
Echo "*N*N*E[33mThis script can either install the archive entirely by itself*Nor let you participate in that process. It will install files at the*NFONTS:, LIBS: and the SYS:Utilities directories when done automatically.*N*E[0m"
Ask "*E[0;3mDo you want an automatic installation?*E[0m"
Echo "*E[33m You will not be able to run the font editor (COP) !*E[0m"
EndIF
EndIf
Ask "*E[0;3mDo you want to install the included vector fonts at FONTS:?*E[0m"
If WARN
Echo "[Installing fonts]"
Copy fonts/ fonts: all quiet ; Copy the font classes to fonts:.
if not exists Fonts:Times/18
copy "Extras 1.3:Fonts/Times.font" fonts:
makedir Fonts:Times
copy "Extras 1.3:Fonts/Times/18" fonts:Times
endif
Else
Echo "*E[33m You will not be able to use the fonts in this archive.*N*E[0m"
EndIF
Ask "*E[0;3mDo you want the libraries at LIBS:?*E[0m"
If WARN
if not exists libs:req.library
Echo "*E[33mThe font editor (COP) is using the req library to issue*Nrequester when some user input is needed, such as when selecting a font to edit.*N*E[0m"
Ask "*E[0;3mDo you want to install the req.library?*E[0m"
if warn
echo "[Installing the req library]"
copy libs/req.library libs:
endif
endif
Echo "*E[33m*N*NThe vfont library uses a set of libraries, called XDF libraries,*Nwhen it attempts to read or write different font file formats.*N*E[0m"
Ask "*E[0;3mDo you want to install the XDF libraries?*E[0m"
if warn
echo "[Installing xdf libraries]"
Copy libs/xdf#? libs: quiet
endif
Ask "*E[0;3mDo you want to install the main vfont library?*E[0m"
if warn
echo "[Installing vfont library]"
Copy libs/vfont.library libs:
endif
EndIf
Ask "*E[0;3mDo you want the programs installed at SYS:Utilities?*E[0m"
If WARN
echo "[Installing programs]"
Copy bin/#? sys:Utilities
Else
Ask "*E[0;3mDo you want the programs installed at C:?*E[0m"
If WARN
echo "[Installing programs]"
Copy bin/#? C: quiet
Else
Echo "*E[33m You have to copy the programs manually, or *N add the 'cd'/bin directory to your path.*N*E[0m"
EndIf
EndIf
EndIf
Echo "[Checking the installation...]"
Execute s/CheckInstall
Lab Done
Echo "*N*E[33mPlease take a look at the ShareWare notice"
Echo "and other files in the docs directory!*N*E[0m"