LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I programmatically install a system font on a Windows target platform with LabVIEW?

I'm using LabVIEW 6.0.2 and I want to start including some of the uncommon fonts (.ttf files) in the build. The ultimate goal is to have my software determine whether or not certain fonts are installed, and if there not to automatically install them before exectuting the rest of my software.
0 Kudos
Message 1 of 3
(3,231 Views)
You could have your installer run a batch file on the target machine which installs them. Or, if you're doing this from a VI, you can use the System Exec.vi to call a batch file which installs them.
J.R. Allen
0 Kudos
Message 2 of 3
(3,231 Views)
All of the installed fonts should be listed in your windows\fonts\ directory. You can scan that directory to see if a font exists, and if not, copy it into that directory, and windows should be able detect it (this process *may* require a re-start?).




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 3 of 3
(3,231 Views)