Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The solution has a setup project using Visual Studio 2010 installer(running on Windows 7) for my VB.net project. The setup project has special folder 'Fonts Folder' having 14 fonts which are not part of windows 7 fonts. These fonts come from languages Sanskrit and Tamil. I have to install these fonts also. The msi setup works fine as of now. However I have two questions.
1. Is there a necessity that I have to conditionally install the font file i.e. If file exist it should not be copied and if not exist then to be copied.
2.If the answer going to be Yes, then please advise me as to how to go step by step or give me properties which are to be modified.
Thanks
Posted

1 solution

First, you would check the windows\fonts folder to see if your font is already installed. If so, then there's no need to re-install it.

If you DO need to install it, then you can follow the instructions found here, in this SO question about almost exactly the same thing.

-Pete
 
Share this answer
 
v2
Comments
Sesharaman 19-Jun-14 12:10pm    
Dear Pete
The windows installer is doing the work of installation with fonts. It may not be possible for me to be present at the site during installation to check whether the fonts are installed. I request you to please see my question as to whether it is necessary at all to check or simple install the fonts without check.
pdoxtader 20-Jun-14 9:30am    
I would let the installer handle that for you. If you think there's going to be a problem if the fonts already exist on the system, it's easy to know for sure. Just install the fonts on a machine before installing your app using your installer. If there's a problem, you'll see it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900