December 14, 200520 yr 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....
December 14, 200520 yr 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, 200520 yr by maxXPsoft
December 14, 200520 yr 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
December 14, 200520 yr 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
December 14, 200520 yr 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, 200520 yr by maxXPsoft
December 14, 200520 yr 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.
December 29, 200520 yr 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.
December 29, 200520 yr 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.
Create an account or sign in to comment