How to create a post installation task in K2000 scripts for a Font installation
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
Answers (2)
Please log in to answer
Posted by:
nheyne
9 years ago
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
Posted by:
SMal.tmcc
9 years ago
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
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
msiexec /i Font.msi /qn - gtgarrity 9 years ago