|
Registers a new font file in the system.
[VBScript]
Installer.RegisterFont FontPath
[JScript]
Installer.RegisterFont(FontPath);
Parameters
FontPath
Path to font file to install.
Remarks
This method adds the font file specified by the FontPath parameter to the system font table.
The following font files are supported:
TrueType fonts (.ttf);
Bitmap font files (.fnt);
Legacy font formats (.fon);
PostScript OpenType fonts (.otf).
Installer variables are supported in the FontPath parameter. To emit the value of installer variable MyVar, use the following form: ${MyVar}.
Uninstall support
This action does not support automatic uninstallation.
Example (VBScript)
Installer.RegisterFont "${ProductPath}\FontFile.ttf"
Example (JScript)
Installer.RegisterFont("${ProductPath}\\FontFile.ttf");
|