Install Fonts via scripting with Kace SMA
My group has been asked to push a package of True Type fonts to our Windows 10 users. I found a script in a knowledge base article in Quest support that says it should do this but I have been unable to get it to work. I am able to successfully copy the font files to the local computer but the "Install" for the fonts will not work.
Has anyone been able to successfully script the installation of fonts in Windows 10?
Answer Chosen by the Author
If its about TTFs I totally agree with Timo to use MSI for the mentioned reasons (standard, reliable and you have an uninstall option).
The following sample is created for the free Roboto Font Family avaliable here.
- Create a new basic installer project. No templates, no wizards.
- Enter some project details. Disable "Modify" unless you want to divide the fonts to features.
- Go to "Files and Folders", open the structure "Windows Volume" and "Fonts" underneath. Right-click in the files corner and choose "Add files", select your TTF files then.
You can also use drag&drop to place them there.
- Now select all the TTF files you just added, right-click them and choose "Properties". Go to the "Registration" tab and enable "Register font".
- Finally go to "Install Parameters". For this fonts-only package, enter "[FontsFolder]" in both "Application folder" and "Application shortcut folder" (acutally we don't need them, but these are required fields).
"Installation type" should be "Per-machine" and enable "Limit to basic user interface".
Thats all. Now save your project and build it to get your MSI file.