Create a MSI file to install a custom font

1 2

If you would like to build an installer to install a custom font on a machine, then you can use Visual Studio to do this.

Instructions

All you have to do is to follow these simple instructions:

Open Visual Studio and start a new installer project. Then carry out the following steps:

Right click on the File System on Target Machine, Add Special Folder > Fonts Folder:

Click to enlarge

Once you have created the Fonts folder then place your font file there:

Click to enlarge

This will ensure that the installer places the font file into the Fonts folder within Windows, however, you need to also register the font.

To register the font, you have to go to the Properties for each font file and change Register from vsdrfDoNoRegister to vsdrfFont:

Click to enlarge

Click to enlarge

When you have made these changes, you can then generate the installer and test. You should then find that the font is successfully installed.

COMMENTS

If you have any questions or comments on this guide, then please feel free to leave us a message using our comments system below.

Print Friendly, PDF & Email
Check out this article...  HP Driver Pack Matrix

A.J. Armstrong

Founder of TechyGeeksHome and Head Writer for over eight years! IT expert in multiple areas for over 20 years.

4 Responses

  1. David F says:

    Thanks big time AJ. Heads up for other SA’s trying to push out MSI’s (for fonts, etc.) via Intune…these instructions for the MSI work fabulously. Some extra information for newbies:

    Once you download Visual Studios 2017 (Community version is fine), you have to make sure you have the installer extension installed to be able to create an installer project. (see https://stackoverflow.com/questions/44286704/create-setup-msi-installer-in-visual-studio-2017)

    Also, the system I did this on did not have the fonts installed yet, so I did not have to do the extra step of changing the Register property for each font.

    When you finish putting the fonts into the project, make sure you build the project and you can pull the .msi file from the build folder stated in the output at the bottom of the Visual Studio IDE.

    As an FYI, if you want to deploy this MSI with Intune (using these instructions [I have no tie to the author]: https://www.anoopcnair.com/intune-beginners-guide-deploy-msi-application/), this MSI works perfectly with Intune. and /quiet command line arguments.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.