This is not the first time I have seen that someone tries to solve how to install fonts on a Windows 7 machine during deployment. Most of the methods use a vbscript of some kind that creates a object on the destination folder (C:WindowsFonts) and uses the copyhere method. An Example can be seen on my colleagues post here: http://msitpros.com/?p=739
And after a little googling I found out that no one has made a “MDT” script / Application that does this. So guess what I did………. Yes, you guessed it. I made a “MDT” Font installer script based on the custom script template in MDT. Okay , so why did I do that you might ask…. The main reason is logging. When a deployment is done I get a log with all the fonts that are installed during the Deployment. And I also prefer of doing it this way.
In order to use this you create a folder under your applications in your deployment share that you can call
“ INSTALL – FONTS ”
Inside this folder you place the .WSF script I have made. Inside this folder you also create a source folder. In the source folder you place the fonts that you want to install. It looks like this:
The script can be downloaded here:
https://skydrive.live.com/?cid=7bc34ea39529a4cd&sc=documents&uc=1&id=7BC34EA39529A4CD%21140#
When you define it as an application in the Workbench you define it like this:
Application without source files or elsewhere on the network.
Give the application a name. I called mine “INSTALL – FONTS”.
Command line is:” cscript install-fonts.wsf “
Working dir is:“ .applicationsINSTALL – FONTS
(change it to what you called it)
Okay so now you can add it as a normal application and it will install the fonts during the deployment. Remember to place the fonts you need inside the source folder. All logging will be done to the BDD.log and a log file called install-fonts.log. Good luck.
This has completely saved my buns. Thank you so much.
Side note, it works great for conditional file transfers as well with very little modification.
Thanks man,
This works simple and does exactly what we want.
Saved me a lot of time programming it.
Works great.
Thank you very much.
You saved me a lot of time.
nice job, it worth the time to write a thank you note.
Still using this in 2017! Thanks for writing/creating this, works perfectly
Still using this in 2018! Thanks works perfectly
***working dir is: .\applications\INSTALL – FONTS (name folder)
This has been rattling around my mind for weeks now how to do this… tried this for a Windows 10 deployment…. worked perfect !
Still working in 2019 !
Just a quick question… Is there a command I can put into this script (that is still working in 2020), to say, overwrite fonts ?
Some of the fonts I noticed were already installed but, some were updates, so we want to overwrite them.
When a duplicate font kicks off, it stops the deployment waiting for a YES or NO on overwriting…. so if your not watching it, it will not stop..