Grabware

Windows · System & Backup

Chocolatey Font Helpers Extension

Functions to make font packages easier.

Version 0.0.4 · by Teknowledgist and Bill Curran

Download

Official site: github.com

About Chocolatey Font Helpers Extension

The **chocolatey-font-helpers.extension** provides helper functions to assist Chocolatey packages easily install and uninstall "loose" (i.e. without an installer) FNT, FON, OTF, TTC, and TTF fonts system-wide.

This extension is based on a [MS Blog post](https://blogs.technet.microsoft.com/deploymentguys/2010/12/04/adding-and-removing-fonts-with-windows-powershell/) and became all-but necessary when newer versions of Windows started redirecting the often-used `AddFontFile()` method into the user's profile rather than the `C:\Windows\Fonts` directory as it had for many previous years.

These functions may be used in your Chocolatey package install/uninstall scripts by declaring this package a dependency in your package's nuspec.

### USAGE:

* **Single Font:** *Will return a "0" for success and a "1" for failure.*

`Install-ChocolateyFont "FilePath\FontName.ext"`

`Uninstall-ChocolateyFont "FontName.ext"`

* **Multiple Fonts:** *Will return the number of successful installs/uninstalls*

`Install-ChocolateyFont $ListOfFontPathsOrFolder -multiple`

`Uninstall-ChocolateyFont $ListOfFontFileNames -multiple`

* **(New!) Wildcards:** Install now accepts a wildcard (must use `-multiple`)

`Install-ChocolateyFont "FilePath\BaseFontName*.ext" -multiple`

* **(New!)** Uninstall-ChocolateyFont should now work with *zero* parameters. Install should create a log file ("FontFilesInstalled.log") in the `$env:ChocolateyPackageFolder`. Uninstall will use that (if present) to identify the fonts to remove. Your *entire* `ChocolateyUninstall.ps1` could be a simple as: `Remove-Font`

Let the easy-peasy font packages flow!

***

**Click here to [Patreon-ize](https://www.patreon.com/bcurran3) the package maintainer.**

***.

How to install Chocolatey Font Helpers Extension

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Chocolatey you can install and update it with: choco install chocolatey-font-helpers-extension
  4. Open Chocolatey Font Helpers Extension once it finishes installing.
How to install Windows software with Chocolatey

Frequently asked questions

Is Chocolatey Font Helpers Extension free to download?

Yes. The Download button sends you to github.com, the developer's official site, where Chocolatey Font Helpers Extension is available to download. Grabware doesn't host or modify any files.

What is the latest version of Chocolatey Font Helpers Extension?

The version listed here is 0.0.4, published /Date(1631. The developer's site always has the newest release.

How do I install Chocolatey Font Helpers Extension from the command line?

With Chocolatey, run: choco install chocolatey-font-helpers-extension. This installs it from the official source and keeps it updated.

Is Chocolatey Font Helpers Extension safe?

Chocolatey Font Helpers Extension downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to Chocolatey Font Helpers Extension

More