blob: 13f1971fd78e935f403b091dd4092fe762f20db4 [file] [log] [blame]
jvr0cc0b312004-12-14 07:55:55 +00001
jvr8ea5a632002-09-09 21:28:10 +00002TTX 2.0 for Windows
uid5561916098102002-09-09 19:58:42 +00003-------------------------
4
jvr88b1d702002-09-09 21:23:34 +00005Creating a Windows (9x/ME/NT/2000/XP) setup executable for TTX
jvr0cc0b312004-12-14 07:55:55 +00006This file has been created by Adam Twardoch <list.adam@twardoch.com>
7December 14, 2004
uid5561916098102002-09-09 19:58:42 +00008
jvr0cc0b312004-12-14 07:55:55 +00009Pre-compiled versions are hosted at http://www.font.org/software/ttx/
10
11APPROACH I: Using py2exe and InnoSetup
12
131. Install Python 2.3 for Windows: http://www.python.org/
uid5561916098102002-09-09 19:58:42 +0000142. Install py2exe: http://starship.python.net/crew/theller/py2exe/
jvr0cc0b312004-12-14 07:55:55 +0000153. Install InnoSetup 4: http://www.jrsoftware.org/
jvr3282c1f2002-09-10 11:23:34 +0000164. Download the latest released source code of TTX/FontTools at
17 http://sourceforge.net/projects/fonttools/
Paul Wise0fff29a2013-11-18 20:20:45 +010018 Or alternatively grab the sources from the VCS:
pabs3005f59e2009-03-22 15:32:29 +000019 http://fonttools.sourceforge.net/
jvr3282c1f2002-09-10 11:23:34 +0000205. Unzip the source code of TTX/FontTools into a folder.
216. In the folder where you unzipped TTX/FontTools, type:
pabs386cee052010-12-29 10:43:44 +000022 python setup.py py2exe --icon Windows\ttx.ico --packages encodings
jvr0cc0b312004-12-14 07:55:55 +0000237. Run Inno Setup and open Windows\fonttools-win-setup.iss
jvrac0c1552002-09-09 21:12:49 +0000248. In Inno Setup, select File/Compile, then Run/Run.
uid5561916098102002-09-09 19:58:42 +000025
jvr0cc0b312004-12-14 07:55:55 +000026APPROACH II: Using McMillan Installer and InnoSetup
27
281. Install Python 2.3 for Windows: http://www.python.org/
292. Download and unpack McMillan installer:
30 http://py.vaults.ca/apyllo2.py/22208368
31 and put the Installer folder into your Python folder,
32 e.g. C:\Python23\Installer
333. Install InnoSetup 4: http://www.jrsoftware.org/
344. Install Microsoft Visual C++ Toolkit 2003:
35 http://msdn.microsoft.com/visualc/vctoolkit2003/
365. Put UPX somewhere within your PATH: http://upx.sourceforge.net/
376. Download the latest released source code of TTX/FontTools at
38 http://sourceforge.net/projects/fonttools/
Paul Wise0fff29a2013-11-18 20:20:45 +010039 Or alternatively grab the sources from the VCS:
pabs3005f59e2009-03-22 15:32:29 +000040 http://fonttools.sourceforge.net/
jvr0cc0b312004-12-14 07:55:55 +0000417. Unzip the source code of TTX/FontTools into a folder.
428. In the folder where you unzipped TTX/FontTools, type:
43 python setup.py install -f
449. Edit mcmillan.bat so the paths in the file correspond to the paths in your system,
45 and run it.
4610.Run Inno Setup and open Windows\fonttools-win-setup.iss
4711.In Inno Setup, select File/Compile, then Run/Run.
48
jvr88b1d702002-09-09 21:23:34 +000049The distributable TTX Windows setup executable has been saved
jvrb9db2e42002-09-09 21:12:02 +000050in the Output subfolder of the FontTools\Windows folder.
uid5561916098102002-09-09 19:58:42 +000051
jvr88b1d702002-09-09 21:23:34 +000052For information on running TTX on Windows, see fonttools-win-setup.txt in this folder.
jvr0cc0b312004-12-14 07:55:55 +000053