1 2TTX 2.0 for Windows 3------------------------- 4 5Creating a Windows (9x/ME/NT/2000/XP) setup executable for TTX 6This file has been created by Adam Twardoch <list.adam@twardoch.com> 7December 14, 2004 8 9Pre-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/ 142. Install py2exe: http://starship.python.net/crew/theller/py2exe/ 153. Install InnoSetup 4: http://www.jrsoftware.org/ 164. Download the latest released source code of TTX/FontTools at 17 http://sourceforge.net/projects/fonttools/ 18 Or alternatively grab the sources from the VCS: 19 http://fonttools.sourceforge.net/ 205. Unzip the source code of TTX/FontTools into a folder. 216. In the folder where you unzipped TTX/FontTools, type: 22 python setup.py py2exe --icon Windows\ttx.ico --packages encodings 237. Run Inno Setup and open Windows\fonttools-win-setup.iss 248. In Inno Setup, select File/Compile, then Run/Run. 25 26APPROACH 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/ 39 Or alternatively grab the sources from the VCS: 40 http://fonttools.sourceforge.net/ 417. 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 49The distributable TTX Windows setup executable has been saved 50in the Output subfolder of the FontTools\Windows folder. 51 52For information on running TTX on Windows, see fonttools-win-setup.txt in this folder. 53 54