Create a MSI file to install a custom font

Create a MSI file to install a custom font

Table of Contents

Last updated on March 30th, 2023 at 05:50 pm

Read Time:56 Second

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:

Create a MSI file to install a custom font 1
Click to enlarge

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

Create a MSI file to install a custom font 2
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:

Create a MSI file to install a custom font 3
Click to enlarge
Create a MSI file to install a custom font 4
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.

Feedback

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

Click to rate this post!
[Total: 1 Average: 5]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 441 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


8 thoughts on “Create a MSI file to install a custom font

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

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