Hallo zusammen,
ich möchte eine Schriftart bei mehreren PC's installieren.
Solange ich das Skript mit Adminrechten ausführe ist das auch kein Problem.
Habe bisher durch einige ältere Beiträge im Forum folgendes Skript erstellt:
[autoit]Global $FontInstallDir = 'C:\Daten\EAN\FontsToInstall' ; dein Ordner mit den neuen Fonts (darf nur Fonts enthalten!!)
Global $oFSO = ObjCreate("Scripting.FileSystemObject")
Global $oApp = ObjCreate("Shell.Application")
Global $sFontsPath = @WindowsDir & "\Fonts"
Global $oFolderCopy = $oApp.Namespace($FontInstallDir)
For $oFont In $oFolderCopy.Items
If Not $oFSO.FileExists($sFontsPath & "\" & $oFont.Name) Then
$oApp.Namespace($sFontsPath).CopyHere($oFont)
EndIf
Next
Meine Frage ist nun wie kann ich in diesem Skript Adminrechte mitgeben?
Gruß
bass-tea