Adam's new windows installer stuff.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@304 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
uid55619 2002-09-09 19:58:42 +00:00
parent 81b0c2b659
commit 1609810a7f
4 changed files with 85 additions and 0 deletions

25
Windows/README.TXT Executable file
View File

@ -0,0 +1,25 @@
FontTools 1.0 for Windows
-------------------------
Creating a Windows (9x/ME/NT/2000/XP) setup executable for FontTools
This file has been created by Adam Twardoch <adam@twardoch.com>
September 9, 2002
1. Install Python 2.2.1 on your computer: http://www.python.org/2.2.1/
or install ActivePython 2.2.1:
http://www.activestate.com/Products/Download/Download.plex?id=ActivePython
2. Install py2exe: http://starship.python.net/crew/theller/py2exe/
3. Download the current CVS snapshot of FontTools:
http://fonttools.sourceforge.net/cvs-snapshots/zip/fonttools-current-snapshot.zip
4. Unzip the CVS snapshot of FontTools into a folder.
5. In the folder where you unzipped FontTools, type:
python.exe setup.py py2exe -O2 -f --icon Win\fonttools.ico
7. Install InnoSetup 3:
http://www.jrsoftware.org/is3.php
8. Run Inno Setup and open Win\fonttools-win-setup.iss (this file)
9. In Inno Setup, select File/Compile, then Run/Run.
The distributable FontTools Windows setup executable has been saved
in the Output subfolder of the FontTools\Win folder.
For information on running FontTools on Windows, see fonttools-win-setup.txt in this folder.

53
Windows/fonttools-win-setup.iss Executable file
View File

@ -0,0 +1,53 @@
;This file has been created by Adam Twardoch <adam@twardoch.com>
;See README.TXT in this folder for instructions on building the setup
[Setup]
AppName=FontTools
AppVerName=FontTools 1.0
AppPublisher=Just van Rossum
AppPublisherURL=http://fonttools.sourceforge.net/
AppSupportURL=http://fonttools.sourceforge.net/
AppUpdatesURL=http://fonttools.sourceforge.net/
DefaultDirName={pf}\FontTools
DefaultGroupName=FontTools
AllowNoIcons=false
LicenseFile=..\LICENSE.txt
InfoBeforeFile=fonttools-win-setup.txt
InfoAfterFile=..\Doc\changes.txt
OutputBaseFilename=fontttols-setup
AppCopyright=Copyright 1999-2002 by Just van Rossum, Letterror, The Netherlands.
UninstallDisplayIcon={app}\fonttools.ico
[Tasks]
Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons:
[Files]
Source: ..\dist\ttcompile\umath.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttcompile\_sre.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttcompile\expat.dll; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttcompile\multiarray.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttcompile\pyexpat.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttcompile\python22.dll; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttcompile\_numpy.pyd; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttcompile\ttcompile.exe; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttdump\ttdump.exe; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\dist\ttlist\ttlist.exe; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\LICENSE.txt; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\Doc\index.html; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\Doc\changes.txt; DestDir: {app}; CopyMode: alwaysoverwrite
Source: ..\Doc\bugs.txt; DestDir: {app}; CopyMode: alwaysoverwrite
Source: fonttools-win-setup.txt; DestDir: {app}; CopyMode: alwaysoverwrite
Source: fonttools.ico; DestDir: {app}; CopyMode: alwaysoverwrite
[Icons]
Name: {group}\Uninstall FontTools; Filename: {uninstallexe}; IconIndex: 0
Name: {userdesktop}\ttdump.exe; Filename: {app}\ttdump.exe; Tasks: desktopicon; IconFilename: {app}\fonttools.ico; IconIndex: 0
Name: {userdesktop}\ttcompile.exe; Filename: {app}\ttcompile.exe; Tasks: desktopicon; IconIndex: 0; IconFilename: {app}\fonttools.ico
Name: {userdesktop}\ttlist.exe; Filename: {app}\ttlist.exe; Tasks: desktopicon; IconFilename: {app}\fonttools.ico; IconIndex: 0
Name: {group}\FontTools documentation; Filename: {app}\index.html; IconIndex: 0
Name: {group}\Changes; Filename: {app}\changes.txt; IconIndex: 0
Name: {group}\Bugs; Filename: {app}\bugs.txt; IconIndex: 0
Name: {group}\License; Filename: {app}\LICENSE.txt; IconIndex: 0
[_ISTool]
EnableISX=false

View File

@ -0,0 +1,7 @@
TTX/FontTools is a suite of tools and libraries for manipulating fonts.
It currently reads and writes TrueType font files, reads PostScript Type 1 fonts and more. It contains two command line programs to convert TrueType fonts to an XML based format (called TTX) and back.
If you let setup to create desktop icons during installation, icons for ttdump.exe, ttcompile.exe and ttlist.exe will be created. You will be able to drop a TTF or OTF file onto the ttlist.exe or ttdump.exe icon to dump the font into an TTX file that is in XML format. You will be also able to drop a TTX file onto the ttcompile.exe icon to build a TTF or OTF font.
Please note that you can only drag-n-drop one file onto the FontTools icons. Dropping multiple files won't work in this version!

BIN
Windows/fonttools.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB