My application uses a Crystal Report that uses a WASP Barcode Font. Is there a way to package this so it installs on the client computer? I tried just adding the font file but it wouldn't add to the package.
Printable View
My application uses a Crystal Report that uses a WASP Barcode Font. Is there a way to package this so it installs on the client computer? I tried just adding the font file but it wouldn't add to the package.
Yes, Inno Setup can handle this...
FontInstall
Description:
Tells Setup the file is a font that needs to be installed. The value of this parameter is the name of the font as stored in the registry or WIN.INI. This must be exactly the same name as you see when you double-click the font file in Explorer. Note that Setup will automatically append " (TrueType)" to the end of the name.
If the file is not a TrueType font, you must specify the flag fontisnttruetype in the Flags parameter.
It's recommended that you use the flags onlyifdoesntexist and uninsneveruninstall when installing fonts to the {fonts} directory.
To successfully install a font on Windows 2000/XP/2003, the user must be a member of the Power Users or Administrators groups. On Windows NT 4.0 and earlier, anyone can install a font.
For compatibility with 64-bit Windows, fonts should not be installed to the {sys} directory. Use {fonts} as the destination directory instead.
Example:
Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall