Jump to content

Register Fonts for Setup


Recommended Posts

Yes, please dont jump on me, I tried the search function but couldnt find anything that would help me.

I want to use the Font "Segoe UI" in my Setup Billboard. And I've read that I must register that font somehow before it can be displayed during the installation.

Can anyone tell me how I do that?

Thanks in advance and best regards

Mike

Link to comment
Share on other sites


First, you'll need to have the two TTF files in <windows folder>\fonts before first reboot. Three solutions :

A (beginner level)> copy SegoeUI.ttf and SegoeUIBold.ttf in $oem$\$$\fonts, and be sure to have OemPreinstall=Yes in winnt.sif

B (i hate cows level)> copy SegoeUI.ttf to I386, cab it, copy SegoeUIBold.ttf to I386, rename to SegoeUIB.ttf and cab it. Then add the two files in DosNet.inf, and in TxtSetUP.sif (renaming back SegoeUIB.ttf to SegoeUIBold.ttf via txtsetup.sif)

C (i format my hd every two hours level)> use a pyron's modded setup.exe, and a custom presetup.cmd to copy the .ttf files

Second, to register the fonts you need to add a line for each in your hives' AddReg sections :

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts","Segoe UI (TrueType)",0x00000000,"SegoeUI.ttf"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts","Segoe UI Bold (TrueType)",0x00000000,"SegoeUIBold.ttf"

(HIVESYS.INF and HIVESFT.INF are the best choices IMHO)

++

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...