Installing font using C# setup project
One of my team member asked about installing font to the system when a C# application is installed. Here are the steps,
a. Create a C# setup project. Open ‘File System’. Right click on ”File System’ and select ‘Add Special Folder’, choose ‘Fonts Folder’.
b. Right click ‘Fonts Folder’ and select Add->File
c. Browse and select the font file(s) you wish to install.
d. Ensure that, the register property of the font file is set to vsdrfFont.
e. Now, run the setup. Once the setup is completed, you can find that, any font dialog in the system displays the installed font.
If you wish the font should remain in the system even after uninstalling the application, set the permanent’ property of the font file to true.