Results 1 to 2 of 2

Thread: how to install fonts using Inno??

  1. #1

    Thread Starter
    Member stingran's Avatar
    Join Date
    Dec 2004
    Posts
    58

    Smile how to install fonts using Inno??

    hi all

    i have an Inno script that works ALMOST perfect..
    the only thing i need now is to install special fonts that i use.
    can someone give an example for the line of code i need to use?

    thanks

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: how to install fonts using Inno??

    stingran,

    From Inno Setup help Documentation of the Files Section:

    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, 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.

    Example:
    Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width