jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 1 | |
jvr | 8ea5a63 | 2002-09-09 21:28:10 +0000 | [diff] [blame] | 2 | TTX 2.0 for Windows |
uid55619 | 1609810 | 2002-09-09 19:58:42 +0000 | [diff] [blame] | 3 | ------------------------- |
| 4 | |
jvr | 88b1d70 | 2002-09-09 21:23:34 +0000 | [diff] [blame] | 5 | Creating a Windows (9x/ME/NT/2000/XP) setup executable for TTX |
jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 6 | This file has been created by Adam Twardoch <list.adam@twardoch.com> |
| 7 | December 14, 2004 |
uid55619 | 1609810 | 2002-09-09 19:58:42 +0000 | [diff] [blame] | 8 | |
jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 9 | Pre-compiled versions are hosted at http://www.font.org/software/ttx/ |
| 10 | |
| 11 | APPROACH I: Using py2exe and InnoSetup |
| 12 | |
| 13 | 1. Install Python 2.3 for Windows: http://www.python.org/ |
uid55619 | 1609810 | 2002-09-09 19:58:42 +0000 | [diff] [blame] | 14 | 2. Install py2exe: http://starship.python.net/crew/theller/py2exe/ |
jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 15 | 3. Install InnoSetup 4: http://www.jrsoftware.org/ |
jvr | 3282c1f | 2002-09-10 11:23:34 +0000 | [diff] [blame] | 16 | 4. Download the latest released source code of TTX/FontTools at |
| 17 | http://sourceforge.net/projects/fonttools/ |
Paul Wise | 0fff29a | 2013-11-18 20:20:45 +0100 | [diff] [blame] | 18 | Or alternatively grab the sources from the VCS: |
pabs3 | 005f59e | 2009-03-22 15:32:29 +0000 | [diff] [blame] | 19 | http://fonttools.sourceforge.net/ |
jvr | 3282c1f | 2002-09-10 11:23:34 +0000 | [diff] [blame] | 20 | 5. Unzip the source code of TTX/FontTools into a folder. |
| 21 | 6. In the folder where you unzipped TTX/FontTools, type: |
pabs3 | 86cee05 | 2010-12-29 10:43:44 +0000 | [diff] [blame] | 22 | python setup.py py2exe --icon Windows\ttx.ico --packages encodings |
jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 23 | 7. Run Inno Setup and open Windows\fonttools-win-setup.iss |
jvr | ac0c155 | 2002-09-09 21:12:49 +0000 | [diff] [blame] | 24 | 8. In Inno Setup, select File/Compile, then Run/Run. |
uid55619 | 1609810 | 2002-09-09 19:58:42 +0000 | [diff] [blame] | 25 | |
jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 26 | APPROACH II: Using McMillan Installer and InnoSetup |
| 27 | |
| 28 | 1. Install Python 2.3 for Windows: http://www.python.org/ |
| 29 | 2. 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 |
| 33 | 3. Install InnoSetup 4: http://www.jrsoftware.org/ |
| 34 | 4. Install Microsoft Visual C++ Toolkit 2003: |
| 35 | http://msdn.microsoft.com/visualc/vctoolkit2003/ |
| 36 | 5. Put UPX somewhere within your PATH: http://upx.sourceforge.net/ |
| 37 | 6. Download the latest released source code of TTX/FontTools at |
| 38 | http://sourceforge.net/projects/fonttools/ |
Paul Wise | 0fff29a | 2013-11-18 20:20:45 +0100 | [diff] [blame] | 39 | Or alternatively grab the sources from the VCS: |
pabs3 | 005f59e | 2009-03-22 15:32:29 +0000 | [diff] [blame] | 40 | http://fonttools.sourceforge.net/ |
jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 41 | 7. Unzip the source code of TTX/FontTools into a folder. |
| 42 | 8. In the folder where you unzipped TTX/FontTools, type: |
| 43 | python setup.py install -f |
| 44 | 9. Edit mcmillan.bat so the paths in the file correspond to the paths in your system, |
| 45 | and run it. |
| 46 | 10.Run Inno Setup and open Windows\fonttools-win-setup.iss |
| 47 | 11.In Inno Setup, select File/Compile, then Run/Run. |
| 48 | |
jvr | 88b1d70 | 2002-09-09 21:23:34 +0000 | [diff] [blame] | 49 | The distributable TTX Windows setup executable has been saved |
jvr | b9db2e4 | 2002-09-09 21:12:02 +0000 | [diff] [blame] | 50 | in the Output subfolder of the FontTools\Windows folder. |
uid55619 | 1609810 | 2002-09-09 19:58:42 +0000 | [diff] [blame] | 51 | |
jvr | 88b1d70 | 2002-09-09 21:23:34 +0000 | [diff] [blame] | 52 | For information on running TTX on Windows, see fonttools-win-setup.txt in this folder. |
jvr | 0cc0b31 | 2004-12-14 07:55:55 +0000 | [diff] [blame] | 53 | |