blob: b6bc1214da60927e9ae680ae7d198ba92f45f830 [file] [log] [blame]
Tim Peters7e5dcf62001-07-20 09:32:16 +00001; Script generated by the Inno Setup Script Wizard.
2; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3
4; This is the whole ball of wax for an Inno installer for Python.
5; To use, download Inno Setup from http://www.jrsoftware.org/isdl.htm/,
6; install it, and double-click on this file. That launches the Inno
7; script compiler. The GUI is extemely simple, and has only one button
8; you may not recognize instantly: click it. You're done. It builds
9; the installer into PCBuild/Python-2.2a1.exe. Size and speed of the
10; installer are competitive with the Wise installer; Inno uninstall
11; seems much quicker than Wise.
12;
13; What's Done
14; -----------
15; All the usual Windows Python files are installed by this now.
16; All the usual Windows Python Start menu entries are created and
17; work fine.
18; The Python install is fully functional for "typical" uses (e.g.,
19; nothing I ever do with Python requires more than this).
20;
21; What's Not Done
22; ---------------
23; No registry entries are written.
24; No installation of files is done into the system dir:
25; The MS DLLs aren't handled at all by this yet.
26; Python22.dll is unpacked into the main Python dir.
27;
28; Inno can't do different things on NT/2000 depending on whether the user
29; has Admin privileges, so I don't know how to "solve" either of those,
30; short of building two installers (one *requiring* Admin privs, the
31; other not doing anything that needs Admin privs).
32;
33; Inno has no concept of variables, so lots of lines in this file need
34; to be fiddled by hand across releases. Simplest way out: stick this
35; file in a giant triple-quoted r-string (note that backslashes are
36; required all over the place here -- forward slashes DON'T WORK in
37; Inno), and use %(yadda)s string interpolation to do substitutions; i.e.,
38; write a very simple Python program to *produce* this script.
39
40[Setup]
41; Which of these controls App Path???
42AppName=Python 2.2 alpha 1
43AppVerName=Python 2.2 alpha 1
44AppVersion=2.2a1
45AppCopyright=Copyright © 2001 Python Software Foundation
46
47; Default install dir; value of {app} later (unless user overrides).
48; {sd} = system root drive, probably "C:".
49DefaultDirName={sd}\Python22
50
51; Start menu folder name.
52DefaultGroupName=Python 2.2
53
54AppId=Python 2.2
55
56; Point SourceDir to one above PCBuild = src.
57; YAY! That actually worked: means this script can run unchanged from anyone's
58; CVS tree, no matter what they called the top-level directories. Wise
59; required hardcoded absolute paths all over the place.
60SourceDir=..
61OutputDir=PCBuild
62OutputBaseFilename=Python-2.2a1
63
64AppPublisher=PythonLabs at Digicool
65AppPublisherURL=http://www.python.org
66AppSupportURL=http://www.python.org
67AppUpdatesURL=http://www.python.org
68
69AlwaysCreateUninstallIcon=yes
70ChangesAssociations=yes
71UninstallLogMode=new
72;LicenseFile=LICENSE
73;InfoBeforeFile=Misc\NEWS
74; uncomment the following line if you want your installation to run on NT 3.51 too.
75; MinVersion=4,3.51
76
77[Types]
78Name: normal; Description: "Select desired components"; Flags: iscustom
79
80[Components]
81Name: main; Description: "Python interpreter and library"; Types: normal
82Name: docs; Description: "Python documentation (HTML)"; Types: normal
83Name: tools; Description: "Python utility scripts"; Types: normal
84Name: test; Description: "Python test suite (Lib\test\)"; Types: normal
85
86[Files]
87; Caution: Using forward slashes instead screws up in amazing ways.
88; Unknown: By the time Components (and other attrs) are added to these lines, they're
89; going to get awfully long. But don't see a way to continue logical lines across
90; physical lines.
91
92Source: LICENSE; DestDir: "{app}"; DestName: LICENSE.txt; CopyMode: alwaysoverwrite
93Source: README; DestDir: "{app}"; DestName: README.txt; CopyMode: alwaysoverwrite
94Source: Misc\News; DestDir: "{app}"; DestName: NEWS.txt; CopyMode: alwaysoverwrite
95Source: PC\*.ico; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main
96
97
98Source: PCbuild\python.exe; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main
99Source: PCbuild\pythonw.exe; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main
100Source: PCbuild\w9xpopen.exe; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main
101
102Source: PCbuild\python22.dll; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main
103
104Source: ..\tcl\bin\tcl83.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
105Source: ..\tcl\bin\tk83.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
106Source: ..\tcl\lib\*.*; DestDir: "{app}\tcl"; CopyMode: alwaysoverwrite; Components: main; Flags: recursesubdirs
107
108Source: PCbuild\_socket.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
109Source: PCbuild\_socket.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
110
111Source: PCbuild\_sre.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
112Source: PCbuild\_sre.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
113
114Source: PCbuild\_symtable.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
115Source: PCbuild\_symtable.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
116
117Source: PCbuild\_testcapi.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
118Source: PCbuild\_testcapi.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
119
120Source: PCbuild\_tkinter.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
121Source: PCbuild\_tkinter.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
122
123Source: PCbuild\bsddb.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
124Source: PCbuild\bsddb.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
125
126Source: PCbuild\mmap.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
127Source: PCbuild\mmap.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
128
129Source: PCbuild\parser.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
130Source: PCbuild\parser.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
131
132Source: PCbuild\pyexpat.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
133Source: PCbuild\pyexpat.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
134
135Source: PCbuild\select.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
136Source: PCbuild\select.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
137
138Source: PCbuild\unicodedata.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
139Source: PCbuild\unicodedata.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
140
141Source: PCbuild\_winreg.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
142Source: PCbuild\_winreg.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
143
144Source: PCbuild\winsound.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
145Source: PCbuild\winsound.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
146
147Source: PCbuild\zlib.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
148Source: PCbuild\zlib.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
149
150Source: PCbuild\python22.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
151
152Source: ..\expat\bin\xmlparse.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
153Source: ..\expat\bin\xmltok.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
154
155Source: Lib\*.py; DestDir: "{app}\Lib"; CopyMode: alwaysoverwrite; Components: main
156Source: Lib\lib-tk\*.py; DestDir: "{app}\Lib\lib-tk"; CopyMode: alwaysoverwrite; Components: main
157
158Source: Lib\encodings\*.py; DestDir: "{app}\Lib\encodings"; CopyMode: alwaysoverwrite; Components: main
159Source: Lib\distutils\*.py; DestDir: "{app}\Lib\distutils"; CopyMode: alwaysoverwrite; Components: main
160Source: Lib\xml\*.py; DestDir: "{app}\Lib\xml"; CopyMode: alwaysoverwrite; Flags: recursesubdirs; Components: main
161Source: Lib\lib-old\*.py; DestDir: "{app}\Lib\lib-old"; CopyMode: alwaysoverwrite; Components: main
162Source: Lib\site-packages\README; DestDir: "{app}\Lib\site-packages"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: main
163Source: Include\*.h; DestDir: "{app}\include"; CopyMode: alwaysoverwrite; Components: main
164Source: PC\config.h; DestDir: "{app}\include"; CopyMode: alwaysoverwrite; Components: main
165
166Source: Tools\scripts\*.py; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools
167Source: Tools\scripts\*.pyw; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools
168Source: Tools\scripts\*.doc; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools
169Source: Tools\scripts\README; DestDir: "{app}\Tools\Scripts"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools
170
171Source: Tools\webchecker\*.py; DestDir: "{app}\Tools\webchecker"; CopyMode: alwaysoverwrite; Components: tools
172Source: Tools\webchecker\README; DestDir: "{app}\Tools\webchecker"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools
173
174Source: Tools\versioncheck\*.py; DestDir: "{app}\Tools\versioncheck"; CopyMode: alwaysoverwrite; Components: tools
175Source: Tools\versioncheck\README; DestDir: "{app}\Tools\versioncheck"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools
176
177Source: Tools\idle\*.py; DestDir: "{app}\Tools\idle"; CopyMode: alwaysoverwrite; Components: tools
178Source: Tools\idle\idle.pyw; DestDir: "{app}\Tools\idle"; CopyMode: alwaysoverwrite; Components: tools
179Source: Tools\idle\*.txt; DestDir: "{app}\Tools\idle"; CopyMode: alwaysoverwrite; Components: tools
180Source: Tools\idle\Icons\*.*; DestDir: "{app}\Tools\idle\Icons"; CopyMode: alwaysoverwrite; Components: tools
181
182Source: Tools\compiler\*.py; DestDir: "{app}\Tools\compiler"; CopyMode: alwaysoverwrite; Components: tools
183Source: Tools\compiler\compiler\*.py; DestDir: "{app}\Tools\compiler\compiler"; CopyMode: alwaysoverwrite; Components: tools
184Source: Tools\compiler\compiler\*.txt; DestDir: "{app}\Tools\compiler\compiler"; CopyMode: alwaysoverwrite; Components: tools
185
186Source: Tools\pynche\*.py; DestDir: "{app}\Tools\pynche"; CopyMode: alwaysoverwrite; Components: tools
187Source: Tools\pynche\pynche.pyw; DestDir: "{app}\Tools\pynche"; CopyMode: alwaysoverwrite; Components: tools
188Source: Tools\pynche\X\*.txt; DestDir: "{app}\Tools\pynche\X"; CopyMode: alwaysoverwrite; Components: tools
189Source: Tools\pynche\README; DestDir: "{app}\Tools\pynche"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools
190Source: Tools\pynche\pynche; DestDir: "{app}\Tools\pynche"; DestName: pynche.py; CopyMode: alwaysoverwrite; Components: tools
191
192Source: html\*.*; DestDir: "{app}\Doc"; CopyMode: alwaysoverwrite; Flags: recursesubdirs; Components: docs
193
194Source: Lib\test\*.py; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test
195Source: Lib\test\*.uue; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test
196Source: Lib\test\*.xml; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test
197Source: Lib\test\*.out; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test
198Source: Lib\test\audiotest.au; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test
199Source: Lib\test\output\*.*; DestDir: "{app}\Lib\test\output"; CopyMode: alwaysoverwrite; Components: test
200
201[Icons]
202Name: "{group}\IDLE (Python GUI)"; Filename: "{app}\pythonw.exe"; WorkingDir: "{app}"; Parameters: "{app}\Tools\idle\idle.pyw"
203Name: "{group}\Module Docs"; Filename: "{app}\pythonw.exe"; WorkingDir: "{app}"; Parameters: "{app}\Tools\Scripts\pydoc.pyw"
204Name: "{group}\Python (command line)"; Filename: "{app}\python.exe"; WorkingDir: "{app}"
205Name: "{group}\Python Manuals"; Filename: "{app}\Doc\index.html"; WorkingDir: "{app}"
206