The !Install file is run by TEXFonts to install the package's fonts and set up any other package-specific environmental variables or resources.
!Install should add the package's font directory to the
TeXFonts$Path
variable and the package directory
to the TeXFontsPackages$Path
variable.
If the package contains RISC OS font files, the !Install file
will also use the FontInstall command to add the font
directory to Font$Path
.
These path variables are limited in length and so your package should try to keep short what it adds to the paths. To do this, your !Install file should declare a path variable for the package and then use that to declare the fonts. For example (taken from !URiscOS.!Install):
Set URiscOS$Path <Obey$Dir>. TeXFontsUtils:AddToPath TeXFonts$Path URiscOS:TeX. TeXFontsUtils:AddToPath TeXFontsPackages$Path URiscOS: FontInstall URiscOS:Notice that you should use the utility TeXFontsUtils:AddToPath to add items to paths; it will correctly place commas between items.
You should also remember that DVIview requires TEX fonts with RISC OS font files to appear in a directory called TeX.
If you want to split your package into sub-directories then look at the BaKoMa package to see how to install it.