Jump to content

Recommended Posts

Posted

Hi guys

I cant figure out how to install fonts using my unattended xp cd, i have over 1000 fonts and i dont like having to install them after installing windows xp how can i install them during installaiton??

thanks guys for your help....


Posted (edited)

Copy all into XPCD\$OEM$\$$\Fonts

Then in Cleanup.cmd add a line like this

REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce /V RegisterFonts /D "%SystemRoot%\explorer.exe /e,/root,%systemroot%\Fonts"
Thats all 1 line

That will open the Fonts folder on Reboot and you just close the folder. By opening it they will Auto register

Simple but effective

Edited by maxXPsoft
Posted

Or add the reg key :)

Font name: Kabel Book BT

Font type: TrueType

Filename: Kabeln.ttf

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Kabel Book BT ^(TrueType^)" /d Kabeln.ttf

The ^ is an escape character for the parentheses from the cmd prompt

Posted

I just use this during my GuiRunOnce:

copy %systemdrive%\install\Applications\Fonts\*.* %WinDir%\Fonts\ /Y

Then put the files into the fonts folder.

I guess I could have done it smarter using the $OEM$\$$ folder ;)

Posted (edited)
Or add the reg key :)

Font name: Kabel Book BT

Font type: TrueType

Filename: Kabeln.ttf

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Kabel Book BT ^(TrueType^)" /d Kabeln.ttf

The ^ is an escape character for the parentheses from the cmd prompt

He said he has a whole lot of them and can you imagine what pain that would be to do that for each and every one? Be easier to export that reg location HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts and add it to his cleanup.cmd along with the file copy above

Edited by maxXPsoft
Posted
He said he has a whole lot of them and can you imagine what pain that would be to do that for each and every one? Be easier to export that reg location HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts and add it to his cleanup.cmd along with the file copy above

Of course you can use a regfile to import them, that was mainly to show the entry path.

Either way beats opening/closing fonts folder. :D

  • 2 weeks later...
Posted

Hmm i found out that I also had to either put the fonts in registry or open and close the Windows fonts thingie in the control panel for the fonts to be activated.

Posted

I used to do things this way but since then I have created an installer. An installer will copy the fonts and register them with the system. Also in compiling the installer the fonts get compressed - saves space on my UXPCD. The installer also creates an listing in the AddRemove Programs control panel. This is nice if you ever want to clean out old fonts and install a new set i.e have several installers for different font packs list windings, formal fonts, fun fonts ....

This installer process has worked so well I do it for other things as well like wallpaper and so on. Once you get the basic installer setup its easy to copy it and then modify for something else. All of my installers also support silent installs. Once you create you own pakages you wont go back.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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