/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


How to create a post installation task in K2000 scripts for a Font installation

01/15/2015 3970 views
Trying to install a Font using the K2000 scripting post installation task.  Does anybody know the parameters or script I would need in order to have the .ttf Font install during a K2000 script deployment?
2 Comments   [ + ] Show comments

Comments

  • Thank you both. I actually have made an MSI for the .ttf font, if I am placing it into Dell Kace as a post installation task is there a specific command I would use to run the MSI? I want to avoid dealing with the registry if at all possible. Thanks!
  • Would this command make sense if K2000 was running it as an quiet application installation?
    msiexec /i Font.msi /qn


Community Chosen Answer

1
I accomplish this by copying the .ttf into C:\Windows\Fonts and registering the font.  I believe this script will work for you:

1. Copy the .ttf
copy /y "fontfilename.ttf" C:\Windows\Fonts
2. Add the registry entry:
reg load HKLM\IMAGE C:\Windows\system32\config\software
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "NameOfFont (TrueType)" /t REG_SZ /d "fontfilename.ttf" /f
reg unload HKLM\IMAGE
Answered 01/15/2015 by: nheyne
Red Belt

All Answers

0
fonts are a pain to do from the command line, it is much easier to right click and choose install.
you want to search for "install fonts windows 7 command line"

http://www.sevenforums.com/general-discussion/28817-installing-fonts-via-command-line-script.html
Answered 01/15/2015 by: SMal.tmcc
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ