My Company Fonts

Views: 1.1k  |  Created: 02/02/2008

Average Rating: 0
Fonts has 1 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (1)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
or cancel
0
Script
Powershell script to install fonts from a network share (Run width admin rights).

$FONTS = 0x14
#Local Folder
$Path="C:\temp\fonts"
$WindowsFontsdir="C:\Windows\Fonts"
$objShell = New-Object -ComObject Shell.Application
$objFolder = $objShell.Namespace($FONTS)
#Copy All Fonts from NetworkSource to $Path
New-Item $Path -type directory
Copy-Item "\\someserver\someshare\*.ttf" $Path
$Fontdir = dir $Path
#Make sure only new fonts are copied
$Source = Get-ChildItem -Filter *.ttf -path $Path
$Target = Get-ChildItem -Filter *.ttf -path $WindowsFontsdir
$Diff = Compare-Object -ReferenceObject $Target -DifferenceObject $Source | Where-Object {$_.SideIndicator -eq '=>'} | select @{n="InputObject";e={ 
     if ($_.inputobject -is [system.io.directoryinfo]) 
     {([system.io.DirectoryInfo]$_.InputObject).fullname}
      else 
      { ([system.io.FileInfo]$_.InputObject).fullname}}},SideIndicator
$Diff = $Diff.InputObject
#Copy and automatically register the fonts
$Diff | ForEach-Object {
  $_
  $objFolder.CopyHere($_)
}
remove-item $Path -recurs
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Fonts

Version

2.0.0.0

Uninstall String

RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\11\50\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{15AD427B-9243-46C6-8A14-CA6BA264162B}\setup.exe" -l0x9 -uninst -removeonly

Questions & Answers (0)

Questions & Answers related to My Company Fonts

Blogs (0)

Blog posts related to My Company Fonts

Reviews (0)

Reviews related to My Company Fonts