Computerpro2 Posted December 14, 2005 Posted December 14, 2005 Hi guysI 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....
maxXPsoft Posted December 14, 2005 Posted December 14, 2005 (edited) Copy all into XPCD\$OEM$\$$\FontsThen in Cleanup.cmd add a line like thisREG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce /V RegisterFonts /D "%SystemRoot%\explorer.exe /e,/root,%systemroot%\Fonts"Thats all 1 lineThat will open the Fonts folder on Reboot and you just close the folder. By opening it they will Auto registerSimple but effective Edited December 14, 2005 by maxXPsoft
nakira Posted December 14, 2005 Posted December 14, 2005 Or add the reg key Font name: Kabel Book BTFont type: TrueTypeFilename: Kabeln.ttfreg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Kabel Book BT ^(TrueType^)" /d Kabeln.ttfThe ^ is an escape character for the parentheses from the cmd prompt
druiddk Posted December 14, 2005 Posted December 14, 2005 I just use this during my GuiRunOnce:copy %systemdrive%\install\Applications\Fonts\*.* %WinDir%\Fonts\ /YThen put the files into the fonts folder.I guess I could have done it smarter using the $OEM$\$$ folder
maxXPsoft Posted December 14, 2005 Posted December 14, 2005 (edited) Or add the reg key Font name: Kabel Book BTFont type: TrueTypeFilename: Kabeln.ttfreg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Kabel Book BT ^(TrueType^)" /d Kabeln.ttfThe ^ is an escape character for the parentheses from the cmd promptHe 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 December 14, 2005 by maxXPsoft
nakira Posted December 14, 2005 Posted December 14, 2005 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 aboveOf course you can use a regfile to import them, that was mainly to show the entry path.Either way beats opening/closing fonts folder.
druiddk Posted December 29, 2005 Posted December 29, 2005 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.
smurdock Posted December 29, 2005 Posted December 29, 2005 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now