Views
WinstScripts
>>
fonts
last edited 1 year ago by sehlers
Qualified for opsi 3.3
---------------------------------------------------------------------
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
[Initial]
[Initial]
Message=Installation der Schriftart Avenir
LogLevel=2
ExitOnError=false
ScriptErrorMessages=on
TraceMode=off
[Aktionen]
DefVar $OS
set $OS=EnvVar("OS")
if $OS="Windows_NT"
Registry_fonts
Patches_win_ini %SYSTEMROOT%\WIN.INI
Files_copy
ExitWindows /Rebootwanted
else
Message = Dies ist kein 32-Bit Betriebssystem
LogError = Dies ist kein 32-Bit Betriebssystem
isFatalError
endif
[Patches_win_ini]
set [Fonts] AvenirNextLTCom-Demi (TrueType)=AvenirNextLTCom-Demi.ttf
set [fonts] AvenirNextLTCom-Demi (TrueType)=AvenirNextLTCom-Demi.ttf
set [Fonts] AvenirNextLTCom-Regular (TrueType)=AvenirNextLTCom-Regular.ttf
set [fonts] AvenirNextLTCom-Regular (TrueType)=AvenirNextLTCom-Regular.ttf
[Files_copy]
copy %SCRIPTPATH%\files\Fonts\*.* %SYSTEMROOT%\Fonts
copy %SCRIPTPATH%\files\Inf\*.* %SYSTEMROOT%\Inf
[Registry_fonts]
openkey [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
set "AvenirNextLTCom-Demi (TrueType)"="AvenirNextLTCom-Demi.ttf"
set "AvenirNextLTCom-Regular (TrueType)"="AvenirNextLTCom-Regular.ttf"