[Tutorial] Making Your Own Switchless Font Addon Packs

Questions or comments on the switchless installers? Want to create a new one? Talk about it here.
Post Reply
User avatar
Mrs Peel
The Dominatrix Recoded
Posts: 1344
Joined: Tue Jan 17, 2006 2:02 am
Location: Aotearoa
Contact:

[Tutorial] Making Your Own Switchless Font Addon Packs

Post by Mrs Peel » Tue Jan 31, 2006 7:08 pm

Making Your Own Switchless Font Addon Packs

Making your own switchless installer for any custom fonts you want to include in your Unattended Windows Installation is easy as pie so I decided to make y'all a tutorial as was taught to me by Kelsenellenelvian.

This method will ONLY work for Windows TrueType and OpenType fonts. If you want to install Type 1 or PostScript fonts you will need to use Adobe Type Manager for them.


Tools you will need for the job
Collection of Fonts (maximum 200)
Icon for Installer (optional)
A Directory Lister
A Font Viewer
Notepad
WinRAR
CabTool
Compression Bin
A copy of fontinst.exe


Introduction

The instructions below will demonstrate how I built my own MrsP_Sample_FontPack_Addon. I have made a sample pack for you to dissect and follow here: Switchless Font Packs Tutorial (8 MB zipped) It contains all the templates and resource files which are used in this tutorial.

Please note that when you come to build your own custom font addon you will need to make new names for the following:

* For each instance of the word "FontPack" you will be substituting that word for the short title of your own personal font addon pack, eg: MyFonts, ExtraFonts, GurlyFonts etc
* For each instance of the phrase "My Favourite Fonts" you will be substituting that phrase for the full name of your own personal font pack.

Also note that when I use quotation marks to define a folder or path names such as "SVCPACK" you will type this without the quotes.

OK are you ready to begin?


Step One

First of all, gather your custom fonts together and place them in a folder called "FontPack". It is strongly recommended that you add no more than 200 fonts to a font addon pack.

Before you proceed any further I strongly recommend that you inspect the folder contents with a utility such as The Font Thing to make sure that your fonts are all correctly named and also to check for any duplicates or corrupted fonts which might cause conflicts later.

When you are satisified that they are all in good order, use your preferred directory lister utility to make a full list of all the fonts in your FontPack folder.


Step Two

Next, place in your FontPack folder a copy of the file "fontinst.exe".

Also in your FontPack folder make a new blank *.inf file and name it "fontinst.inf" then proceed to the next step.


Step Three

Open fontinst.inf in notepad.

If you like to notate your script files with comments then add a brief description in the first line, remembering to insert a ";" symbol at the beginning of that line.

Our next line (or first line, if you decided not to include a description) will be the code "[fonts]"

Directly under that line we copy and paste the font list which we made in Step One, like so:

Code: Select all

;My Favourite Fonts
[fonts]
arial.ttf
comic.ttf
cour.ttf
lucon.ttf
tahoma.ttf
times.ttf
verdana.ttf
wingding.ttf

Step Four

Now we have to pack the files in the FontPack folder into an SFX installer using WinRAR.

Start by selecting all the files in your FontPack folder and then right-click to select "WinRAR/Add to archive..." This will pop up the following program window, where you will select the option "Create SFX archive"

Image


Now move to the "Advanced" tab and open "SFX options"

Image


Under the "General" tab, type "fontinst.exe" in the box labelled "Run after extraction". Fontinst.exe is a windows DOS utility which will install and register your fonts.

Image


Under the "Modes" tab, check "Unpack to temporary folder" at the top.

For "Silent mode" select "Hide all".

For "Overwrite mode" it is strongly recommended that you select "Skip existing files", otherwise you put yourself at risk of overwriting crucial windows system fonts. However, if you are making this font addon pack to update existing fonts in your collection and you are absolutely confident you know what you are about to overwrite then you could alternatively select the option "Overwrite all files".

Image


If you wish to add your own personalised program icon to the SFX installer you can choose that under the "Text and icon" tab by browsing for your icon under "Load SFX icon from the file".

Image


Click "OK", then "OK" again and WinRAR will create for you a file called "FontPack.exe"

Congratulations! You have just made a silent installer for your fonts!

You could keep this SFX file to use in future for an instance where your fonts have become corrupted or missing and you need to restore the entire set. Please note that when you run this SFX installer manually from a working windows installation you will not get any windows popping up to ask you to confirm the installation process, as it is entirely silent (hidden).

For those of you who do not require a custom icon and prefer a "quick and dirty way" to make your SFX installer, just paste the following code into the "Comments" box:

Code: Select all

;My Favourite Fonts Addon Pack, made by Me.

Setup=fontinst.exe
TempMode
Silent=1
Overwrite=2
It should look like this:

Image


Step Five

Next we make a folder which is named by the full final name of your addon pack, for example "My_Favourite_FontPack_Addon". Inside that folder make a sub-folder called "SVCPACK" and move your SFX file FontPack.exe into that SVCPACK folder.

See inside the Switchless Font Packs Tutorial package for an example of the directory structure.


Step Six

In the root of our "My_Favourite_FontPack_Addon" folder we need to make a new file called Entries_FontPack.ini and then paste the following code into it, substituting your own file names and dates and website where needed:

Code: Select all

;My Favourite Fonts Addon Pack, made by Me.

[General]
Builddate   = 2006/01/31
Description = My Favourite Fonts Addon Pack 
Language    = English
Title       = FontPack
Version     = 1.0
Website     = http://www.mywebsite.com

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
FontPack.exe

Step Seven

Last, but not least we send the folder "My_Favourite_FontPack_Addon" to CabTool to make the file My_Favourite_FontPack_Addon.cab and VOILA! we have our finished product.


See? I told ya it was that easy!

:D

[Edit 2007/09/28] I have updated the download package, which now includes this full tutorial (converted to CHM format) and all the required sample files - including the fontinst.exe, which becomes harder and harder to find on the net these days!
Last edited by Mrs Peel on Thu Sep 27, 2007 7:13 pm, edited 8 times in total.

User avatar
RogueSpear
Posts: 1155
Joined: Tue Nov 23, 2004 9:50 pm
Location: Buffalo, NY

Post by RogueSpear » Tue Jan 31, 2006 7:31 pm

Jeez, I should have you look over my guides. Excellent work. I think Kel's created a monster :D

User avatar
ahmerkhan
Posts: 400
Joined: Mon Aug 28, 2006 8:02 am
Location: Pakistan
Contact:

Post by ahmerkhan » Sun Sep 03, 2006 9:32 am

Great Work Mrs Peel....

I am new and i never make any Addon but I would like to make a Custom Font Package ...

The Prolem is that I have a Font Microsoft "Arabtype.volt.ttf " with a USP10.DLL file which should be go inside System32 folder to replace the Old One...

How can I point Out that USP10.DLL file to Go just Inside System32 Folder...

These are the Instruction for Installing Fonts by Microsoft...

Uniscribe build for VOLT users.
-------------------------------

This build of usp10.dll is a private build for VOLT users.
It's use is covered by the terms of the VOLT user license, and as such may not be redistributed.

Installation.
You should restart your computer in console mode and manually replace usp10.dll in
Windows system directory (like WINNT\SYSTEM32) with this build.
Don't forget to backup the current version of usp10.dll before replacing!!!

User avatar
Mrs Peel
The Dominatrix Recoded
Posts: 1344
Joined: Tue Jan 17, 2006 2:02 am
Location: Aotearoa
Contact:

Post by Mrs Peel » Wed Sep 13, 2006 9:49 am

This tutorial is only for common garden variety True Type Fonts. What you need would require a seperate addon pack for that particular font which overwrites that DLL file, but I wouldn't want to do that myself in case the windows installation depends on a legit copy of the DLL being present. I am no expert on hacking system files, in fact I am a total chicken shit about doing that kind of thing.

Sorry I can not help you there.

User avatar
ahmerkhan
Posts: 400
Joined: Mon Aug 28, 2006 8:02 am
Location: Pakistan
Contact:

Post by ahmerkhan » Thu Sep 14, 2006 8:38 am

Thank God....! The Mod Replying After 10 days...



if you are a VOLT user,It is not illegel to replace USP10.dll file....
I must need that font in my font package....
I am new so i can't do it my self right now...
Any way....Mrs peel it will be a pleasure if you guide me a little... :? :o

Lemonzest
Posts: 114
Joined: Tue Mar 07, 2006 8:19 am

Post by Lemonzest » Tue Oct 31, 2006 3:48 pm

@mindcurd, for usp10.dll do as i do, cab it and replace the one in i386
AMD Athlon64 3000+ @2.4GHz, DFI Lanparty UT NF3 250Gb, 2x1024MB Geil Value Ram PC3200
ATI Radeon X800XT VIVO, SyncMaster 913N LCD, Logitech MX518, Creative Audigy2 ZS
Enermax Noisetaker 485W, Western Digital SATA 160GB, Windows Server 2003 R2 Standard

User avatar
Mrs Peel
The Dominatrix Recoded
Posts: 1344
Joined: Tue Jan 17, 2006 2:02 am
Location: Aotearoa
Contact:

Post by Mrs Peel » Fri Aug 31, 2007 7:04 am

Minor update....

User avatar
Mrs Peel
The Dominatrix Recoded
Posts: 1344
Joined: Tue Jan 17, 2006 2:02 am
Location: Aotearoa
Contact:

Post by Mrs Peel » Thu Sep 27, 2007 7:20 pm

Ooooops, I broke the image links in this post when I moved servers, so that is fixed now.

I notice from my server logs that this Tutorial package file regularly gets between 80-100 downloads EVERY DAY. Don't ANY of you lurking leechers ever think to come and say THANK YOU to the members here who invest so much time and goodwill to write tutorials and guides that help you in your own addon work????

I would not be where I am today if it wasn't for the those teachers/tutors who helped my comprehension of this unattended installer making process. I owe them EVERYTHING! And you should extend them the same gratitude at every opportunity.

Stop being lazy lurking leechers and go add a thanks to one of the MANY tutorial and reference guide posts that our generous members here have shared to HELP YOU!

:evil:

Kingskawn
Posts: 38
Joined: Sat Jul 08, 2006 6:41 am

Post by Kingskawn » Mon Apr 07, 2008 5:01 am

A mirror maybe for fontinst.exe please :?

User avatar
Zyx_Maiden
Posts: 128
Joined: Mon Mar 12, 2007 9:32 pm
Location: Québec, Canada

Post by Zyx_Maiden » Mon Apr 07, 2008 6:47 am

If you see dinosaurs, stop using drugs. But, if you don't use drugs, GET THE HELL OUT OF THERE!

hessames
Posts: 12
Joined: Wed Nov 14, 2007 6:36 pm
Contact:

Post by hessames » Mon Apr 07, 2008 6:40 pm

please fix link

User avatar
5eraph
Site Admin
Posts: 4621
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Mon Apr 07, 2008 7:13 pm

Link to fontinst.exe fixed. Thanks, Zyx_Maiden.

jamesdean
Posts: 94
Joined: Fri May 26, 2006 2:40 am

Post by jamesdean » Sun May 11, 2008 3:23 am

If you ever see this: thanks for this tutorial Mrs Peel.

It was easy to follow and useful.

fred_gaou
Posts: 5
Joined: Tue May 13, 2008 7:41 am
Location: France - Paris

Post by fred_gaou » Thu Jun 12, 2008 10:57 pm

You're Great Mrs Peel !!!

Thanks :D

User avatar
code65536
Posts: 735
Joined: Wed Mar 14, 2007 2:58 pm
Location: .us
Contact:

Post by code65536 » Sat Oct 18, 2008 1:33 pm

For people who want to use the newly-minted FontReg.exe instead of fontinst.exe, you can follow the same steps in this tutorial, with just a couple of minor modifications.

1) There is no need for a .inf when using FontReg.exe. So you can skip "Step Three".

2) You will need to run "FontReg.exe /move" instead of "fontinst.exe". (under "Step Four"). So your comment box would look something like this:

Code: Select all

;My Favourite Fonts Addon Pack, made by Me.

Setup=FontReg.exe /move
TempMode
Silent=1
Overwrite=2
I personally recommend FontReg over the outdated fontinst; FontReg supports installing .fon, .ttf, .ttc, and .otf fonts, it's smaller, and it's easier (no need for the .inf file).
My addons: CmdOpen - HashCheck - Notepad2 - MS Runtimes - DirectX

Into the breach, meatbags!

tata196
Posts: 8
Joined: Thu Nov 21, 2013 6:46 am

Post by tata196 » Fri Jan 31, 2014 9:58 am

thank you for this tutorial Mrs Peel

User avatar
=[FEAR]=JIGSAW
Posts: 394
Joined: Mon Feb 18, 2008 11:54 am
Location: Cape Town, South Africa

Re: [Tutorial] Making Your Own Switchless Font Addon Packs

Post by =[FEAR]=JIGSAW » Wed Mar 22, 2017 4:25 am

^ RAS ?

Post Reply