Hi Kevin

I'm using this script (installfonts.vbs):

Const FONTS = &H14&

Set objShell = CreateObject("Wscript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
strScriptDir = objFSO.GetParentFolderName(WScript.ScriptFullName)

Set objApp = CreateObject("Shell.Application")
Set objFolder = objApp.Namespace(FONTS)
If Not objFSO.FileExists("C:\WINDOWS\Fonts\Font1.ttf") Then objFolder.CopyHere 
strScriptDir & "\Font1.ttf"
If Not objFSO.FileExists("C:\WINDOWS\Fonts\Font2.ttf") Then objFolder.CopyHere 
strScriptDir & "\Font2.ttf"
If Not objFSO.FileExists("C:\WINDOWS\Fonts\Font3.ttf") Then objFolder.CopyHere 
strScriptDir & "\Font3.ttf"


using installfonts.cmd for installing in the task sequence or package.
cscript "%~dp0installfonts.vbs"

Regards,
Reto

From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of Kevin Johnston
Sent: Mittwoch, 11. Juni 2014 14:46
To: 'mssms@lists.myitforum.com'
Subject: [mssms] Adding fonts to your base image or deploying using SCCM

Does anyone have a good way to ensure that when building a base image and 
adding fonts will be available for all users?

I have some corporate fonts (20) that when I install in the base image as 
Administrator do not install when a user logs on. I am thinking maybe I should 
look into copyProfile?

The second challenge I have is trying to install it for the other 600 computers 
that do not have the fonts. I found a few scripts online and I have tried them, 
but they break when pushing in SCCM (user deploy)

Any ideas?

Thanks,

Kevin




--
This e-mail message and any attachments are of a confidential nature. The 
information is intended for the named addressee exclusively. If you are not the 
addressee, you may not electronically disseminate, otherwise distribute or copy 
this e-mail message, and you may also not use it for any purpose. Please notify 
the sender immediately if you have received this e-mail message by mistake, and 
delete this e-mail message and its attachments.

E-mail transmissions could be lost, intercepted, corrupted or destroyed. They 
could arrive late or incomplete, or could even contain viruses. Confidentiality 
and reliability of the information so transmitted cannot be guaranteed. 
Rothschild Bank therefore does not accept any liability or responsibility for 
errors or omissions regarding the information transmitted through e-mail.

If verification of the information transmitted through e-mail is required, 
please ask for postal delivery by contacting Rothschild Bank..

This e-mail message is provided for information purposes only. It should not be 
construed as an offer or solicitation to buy or sell any financial instruments 
or services. It is not to be made available to US persons and is not to be 
circulated within the USA.




Reply via email to