I tried this:
Func InstallFont($sSourceFile, $sFontDescription, $sFontsPath)
Local Const $HWND_BROADCAST = 0xFFFF
Local Const $WM_FONTCHANGE = 0x1D
Local $sFontsPath = "\\server.local\Software\_Install\_Default\1\CORPORATE FONT\"
Local $sFontFileName = StringRegExpReplace($sSourceFile, '^.*\\', '')
If Not FileCopy($sSourceFile, $sFontsPath & "\" & $sFontFileName, 1) Then Return SetError(1, 0, 0)
Local $aRet = DllCall("gdi32.dll", "Int", "AddFontResource", "str", @WindowsDir & "\fonts\" & $sFontFileName)
If IsArray($aRet) And $aRet[0] > 0 Then
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts", $sFontDescription, "REG_SZ", $sFontFileName)
DllCall("user32.dll", "Int", "SendMessage", "hwnd", $HWND_BROADCAST, "int", $WM_FONTCHANGE, "int", 0, "int", 0)
Return 1
EndIf
Return SetError(2, 0, 0)
EndFunc
But it doesn't work I would _really_ like someone to help me out here.. Fonts just dont seem to install. And I'm a script noobie