How do I install a font if a font does not exist?
I am currently trying to copy the file to the fonts directory but that does not cause the font to be installed.
How do I install a font if a font does not exist?
I am currently trying to copy the file to the fonts directory but that does not cause the font to be installed.
Hi Bill,
Thanks for your post.
There's an article here : http://www.windowsitpro.com/Articles/ArticleID/15167/15167.html?Ad=1 which describes how to install Fonts from a batch file. It's a two stage process, copying the file and then editing the Registry.
Of course, you don't need a batch file when you have Automise!
In addition to your Copy File(s) action, you should be able to add a "Set Registry Value" action which is set up as follows:
Registry Root : HKEY_LOCAL_MACHINE
Registry Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Registry Value Name : -Font Name-
Registry Value Type : String
New Value : -Font File Name-
... you'll need to replace -Font Name- and -Font File Name- with the appropriate values. If you're installing multiple fonts, you can use Automise variables, ie %FontName% and %FontFileName%.
Regards,
Angus