1 ; Script generated by the Inno Setup Script Wizard.
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
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 (but also feebler, and the uninstall
12 ; log is in some un(human)readable binary format).
16 ; All the usual Windows Python files are installed by this now.
17 ; All the usual Windows Python Start menu entries are created and
19 ; .py, .pyw, .pyc and .pyo extensions are registered.
20 ; PROBLEM: Inno uninstall does not restore their previous registry
21 ; associations (if any). Wise did. This will make life
22 ; difficult for alpha (etc) testers.
23 ; The Python install is fully functional for "typical" uses.
27 ; None of "Mark Hammond's" registry entries are written.
28 ; No installation of files is done into the system dir:
29 ; The MS DLLs aren't handled at all by this yet.
30 ; Python22.dll is unpacked into the main Python dir.
32 ; Inno can't do different things on NT/2000 depending on whether the user
33 ; has Admin privileges, so I don't know how to "solve" either of those,
34 ; short of building two installers (one *requiring* Admin privs, the
35 ; other not doing anything that needs Admin privs).
37 ; Inno has no concept of variables, so lots of lines in this file need
38 ; to be fiddled by hand across releases. Simplest way out: stick this
39 ; file in a giant triple-quoted r-string (note that backslashes are
40 ; required all over the place here -- forward slashes DON'T WORK in
41 ; Inno), and use %(yadda)s string interpolation to do substitutions; i.e.,
42 ; write a very simple Python program to *produce* this script.
45 ; Note: we *want* the version number to show up everywhere.
46 ; Which of these controls App Path???
47 AppName
=Python
2.2 alpha
1
48 AppVerName
=Python
2.2 alpha
1
51 AppCopyright
=Copyright ©
2001 Python Software Foundation
53 ; Default install dir; value of {app} later (unless user overrides).
54 ; {sd} = system root drive, probably "C:".
55 DefaultDirName
={sd}\Python22
57 ; Start menu folder name; value of {group} later (unless user overrides).
58 DefaultGroupName
=Python
2.2
60 ; Point SourceDir to one above PCBuild = src.
61 ; YAY! That actually worked: means this script can run unchanged from anyone's
62 ; CVS tree, no matter what they called the top-level directories. Wise
63 ; required hardcoded absolute paths all over the place.
66 OutputBaseFilename
=Python
-2.2a1
68 AppPublisher
=PythonLabs at Zope Corporation
69 AppPublisherURL
=http
://www
.python
.org
70 AppSupportURL
=http
://www
.python
.org
71 AppUpdatesURL
=http
://www
.python
.org
73 AlwaysCreateUninstallIcon
=yes
74 ChangesAssociations
=yes
77 ; The fewer screens the better; leave these commented.
79 ;InfoBeforeFile=Misc\NEWS
81 ; uncomment the following line if you want your installation to run on NT 3.51 too.
85 Name
: normal
; Description
: "Select desired components"; Flags
: iscustom
88 Name
: main
; Description
: "Python interpreter, library and Tk"; Types
: normal
89 Name
: docs
; Description
: "Python documentation (HTML)"; Types
: normal
90 Name
: tools
; Description
: "Python utility scripts (Tools\)"; Types
: normal
91 Name
: test
; Description
: "Python test suite (Lib\test\)"; Types
: normal
94 Name
: startmenu
; Description
: "Create Start menu shortcuts"; Components
: main docs tools
95 Name
: extensions
; Description
: "Register file extensions (.py, .pyw, .pyc, .pyo)"; Components
: main
98 ; Caution: Using forward slashes instead screws up in amazing ways.
99 ; Unknown: By the time Components (and other attrs) are added to these lines, they're
100 ; going to get awfully long. But don't see a way to continue logical lines across
103 Source
: LICENSE
; DestDir
: "{app}"; DestName
: LICENSE
.txt
; CopyMode
: alwaysoverwrite
104 Source
: README
; DestDir
: "{app}"; DestName
: README
.txt
; CopyMode
: alwaysoverwrite
105 Source
: Misc\News
; DestDir
: "{app}"; DestName
: NEWS
.txt
; CopyMode
: alwaysoverwrite
106 Source
: PC\
*.ico
; DestDir
: "{app}"; CopyMode
: alwaysoverwrite
; Components
: main
109 Source
: PCbuild\python
.exe
; DestDir
: "{app}"; CopyMode
: alwaysoverwrite
; Components
: main
110 Source
: PCbuild\pythonw
.exe
; DestDir
: "{app}"; CopyMode
: alwaysoverwrite
; Components
: main
111 Source
: PCbuild\w9xpopen
.exe
; DestDir
: "{app}"; CopyMode
: alwaysoverwrite
; Components
: main
113 Source
: PCbuild\python22
.dll
; DestDir
: "{app}"; CopyMode
: alwaysoverwrite
; Components
: main
115 Source
: ..\tcl
\bin
\tcl
83.dll
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
116 Source
: ..\tcl
\bin
\tk
83.dll
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
117 Source
: ..\tcl\lib\
*.*; DestDir
: "{app}\tcl"; CopyMode
: alwaysoverwrite
; Components
: main
; Flags
: recursesubdirs
119 Source
: PCbuild\_socket
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
120 Source
: PCbuild\_socket
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
122 Source
: PCbuild\_sre
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
123 Source
: PCbuild\_sre
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
125 Source
: PCbuild\_symtable
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
126 Source
: PCbuild\_symtable
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
128 Source
: PCbuild\_testcapi
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
129 Source
: PCbuild\_testcapi
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
131 Source
: PCbuild\_tkinter
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
132 Source
: PCbuild\_tkinter
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
134 Source
: PCbuild
\bsddb
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
135 Source
: PCbuild
\bsddb
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
137 Source
: PCbuild\mmap
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
138 Source
: PCbuild\mmap
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
140 Source
: PCbuild\parser
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
141 Source
: PCbuild\parser
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
143 Source
: PCbuild\pyexpat
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
144 Source
: PCbuild\pyexpat
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
146 Source
: PCbuild\select
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
147 Source
: PCbuild\select
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
149 Source
: PCbuild\unicodedata
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
150 Source
: PCbuild\unicodedata
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
152 Source
: PCbuild\_winreg
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
153 Source
: PCbuild\_winreg
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
155 Source
: PCbuild\winsound
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
156 Source
: PCbuild\winsound
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
158 Source
: PCbuild\zlib
.pyd
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
159 Source
: PCbuild\zlib
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
161 Source
: PCbuild\python22
.lib
; DestDir
: "{app}\libs"; CopyMode
: alwaysoverwrite
; Components
: main
163 Source
: ..\expat\Libs\expat
.dll
; DestDir
: "{app}\DLLs"; CopyMode
: alwaysoverwrite
; Components
: main
165 Source
: Lib\
*.py
; DestDir
: "{app}\Lib"; CopyMode
: alwaysoverwrite
; Components
: main
166 Source
: Lib\lib
-tk\
*.py
; DestDir
: "{app}\Lib\lib-tk"; CopyMode
: alwaysoverwrite
; Components
: main
168 Source
: Lib\encodings\
*.py
; DestDir
: "{app}\Lib\encodings"; CopyMode
: alwaysoverwrite
; Components
: main
169 Source
: Lib\distutils\
*.py
; DestDir
: "{app}\Lib\distutils"; CopyMode
: alwaysoverwrite
; Components
: main
170 Source
: Lib\xml\
*.py
; DestDir
: "{app}\Lib\xml"; CopyMode
: alwaysoverwrite
; Flags
: recursesubdirs; Components
: main
171 Source
: Lib\lib
-old\
*.py
; DestDir
: "{app}\Lib\lib-old"; CopyMode
: alwaysoverwrite
; Components
: main
172 Source
: Lib\site
-packages\README
; DestDir
: "{app}\Lib\site-packages"; DestName
: README
.txt
; CopyMode
: alwaysoverwrite
; Components
: main
173 Source
: Include\
*.h
; DestDir
: "{app}\include"; CopyMode
: alwaysoverwrite
; Components
: main
174 Source
: PC\pyconfig
.h
; DestDir
: "{app}\include"; CopyMode
: alwaysoverwrite
; Components
: main
176 Source
: Tools\scripts\
*.py
; DestDir
: "{app}\Tools\Scripts"; CopyMode
: alwaysoverwrite
; Components
: tools
177 Source
: Tools\scripts\
*.pyw
; DestDir
: "{app}\Tools\Scripts"; CopyMode
: alwaysoverwrite
; Components
: tools
178 Source
: Tools\scripts\
*.doc
; DestDir
: "{app}\Tools\Scripts"; CopyMode
: alwaysoverwrite
; Components
: tools
179 Source
: Tools\scripts\README
; DestDir
: "{app}\Tools\Scripts"; DestName
: README
.txt
; CopyMode
: alwaysoverwrite
; Components
: tools
181 Source
: Tools\webchecker\
*.py
; DestDir
: "{app}\Tools\webchecker"; CopyMode
: alwaysoverwrite
; Components
: tools
182 Source
: Tools\webchecker\README
; DestDir
: "{app}\Tools\webchecker"; DestName
: README
.txt
; CopyMode
: alwaysoverwrite
; Components
: tools
184 Source
: Tools
\versioncheck\
*.py
; DestDir
: "{app}\Tools\versioncheck"; CopyMode
: alwaysoverwrite
; Components
: tools
185 Source
: Tools
\versioncheck\README
; DestDir
: "{app}\Tools\versioncheck"; DestName
: README
.txt
; CopyMode
: alwaysoverwrite
; Components
: tools
187 Source
: Tools\idle\
*.py
; DestDir
: "{app}\Tools\idle"; CopyMode
: alwaysoverwrite
; Components
: tools
188 Source
: Tools\idle\idle
.pyw
; DestDir
: "{app}\Tools\idle"; CopyMode
: alwaysoverwrite
; Components
: tools
189 Source
: Tools\idle\
*.txt
; DestDir
: "{app}\Tools\idle"; CopyMode
: alwaysoverwrite
; Components
: tools
190 Source
: Tools\idle\Icons\
*.*; DestDir
: "{app}\Tools\idle\Icons"; CopyMode
: alwaysoverwrite
; Components
: tools
192 Source
: Tools\compiler\
*.py
; DestDir
: "{app}\Tools\compiler"; CopyMode
: alwaysoverwrite
; Components
: tools
193 Source
: Tools\compiler\README
; DestDir
: "{app}\Tools\compiler"; DestName
: README
.txt
; CopyMode
: alwaysoverwrite
; Components
: tools
194 Source
: Tools\compiler\compiler\
*.py
; DestDir
: "{app}\Tools\compiler\compiler"; CopyMode
: alwaysoverwrite
; Components
: tools
195 Source
: Tools\compiler\compiler\
*.txt
; DestDir
: "{app}\Tools\compiler\compiler"; CopyMode
: alwaysoverwrite
; Components
: tools
197 Source
: Tools\pynche\
*.py
; DestDir
: "{app}\Tools\pynche"; CopyMode
: alwaysoverwrite
; Components
: tools
198 Source
: Tools\pynche\pynche
.pyw
; DestDir
: "{app}\Tools\pynche"; CopyMode
: alwaysoverwrite
; Components
: tools
199 Source
: Tools\pynche\X\
*.txt
; DestDir
: "{app}\Tools\pynche\X"; CopyMode
: alwaysoverwrite
; Components
: tools
200 Source
: Tools\pynche\README
; DestDir
: "{app}\Tools\pynche"; DestName
: README
.txt
; CopyMode
: alwaysoverwrite
; Components
: tools
201 Source
: Tools\pynche\pynche
; DestDir
: "{app}\Tools\pynche"; DestName
: pynche
.py
; CopyMode
: alwaysoverwrite
; Components
: tools
203 Source
: html\
*.*; DestDir
: "{app}\Doc"; CopyMode
: alwaysoverwrite
; Flags
: recursesubdirs; Components
: docs
205 Source
: Lib
\test\
*.py
; DestDir
: "{app}\Lib\test"; CopyMode
: alwaysoverwrite
; Components
: test
206 Source
: Lib
\test\
*.uue
; DestDir
: "{app}\Lib\test"; CopyMode
: alwaysoverwrite
; Components
: test
207 Source
: Lib
\test\
*.xml
; DestDir
: "{app}\Lib\test"; CopyMode
: alwaysoverwrite
; Components
: test
208 Source
: Lib
\test\
*.out; DestDir
: "{app}\Lib\test"; CopyMode
: alwaysoverwrite
; Components
: test
209 Source
: Lib
\test
\audiotest
.au
; DestDir
: "{app}\Lib\test"; CopyMode
: alwaysoverwrite
; Components
: test
210 Source
: Lib
\test\output\
*.*; DestDir
: "{app}\Lib\test\output"; CopyMode
: alwaysoverwrite
; Components
: test
213 Tasks
: startmenu
; Name
: "{group}\IDLE (Python GUI)"; Filename
: "{app}\pythonw.exe"; WorkingDir
: "{app}"; Parameters
: """{app}\Tools\idle\idle.pyw"""; Components
: tools
214 Tasks
: startmenu
; Name
: "{group}\Module Docs"; Filename
: "{app}\pythonw.exe"; WorkingDir
: "{app}"; Parameters
: """{app}\Tools\Scripts\pydoc.pyw"""; Components
: tools
215 Tasks
: startmenu
; Name
: "{group}\Python (command line)"; Filename
: "{app}\python.exe"; WorkingDir
: "{app}"; Components
: main
216 Tasks
: startmenu
; Name
: "{group}\Python Manuals"; Filename
: "{app}\Doc\index.html"; WorkingDir
: "{app}"; Components
: docs
220 Tasks
: extensions
; Root
: HKCR
; Subkey
: ".py"; ValueType
: string; ValueName
: ""; ValueData
: "Python File"; Flags
: uninsdeletevalue
221 Tasks
: extensions
; Root
: HKCR
; Subkey
: ".py"; ValueType
: string; ValueName
: "Content Type"; ValueData
: "text/plain"; Flags
: uninsdeletevalue
222 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python File"; ValueType
: string; ValueName
: ""; ValueData
: "Python File"; Flags
: uninsdeletekey
223 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python File\DefaultIcon"; ValueType
: string; ValueName
: ""; ValueData
: "{app}\Py.ico"
224 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python File\shell\open\command"; ValueType
: string; ValueName
: ""; ValueData
: """{app}\python.exe"" ""%1"" %*"
227 Tasks
: extensions
; Root
: HKCR
; Subkey
: ".pyc"; ValueType
: string; ValueName
: ""; ValueData
: "Python CompiledFile"; Flags
: uninsdeletevalue
228 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python CompiledFile"; ValueType
: string; ValueName
: ""; ValueData
: "Compiled Python File"; Flags
: uninsdeletekey
229 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python CompiledFile\DefaultIcon"; ValueType
: string; ValueName
: ""; ValueData
: "{app}\pyc.ico"
230 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python CompiledFile\shell\open\command"; ValueType
: string; ValueName
: ""; ValueData
: """{app}\python.exe"" ""%1"" %*"
233 Tasks
: extensions
; Root
: HKCR
; Subkey
: ".pyo"; ValueType
: string; ValueName
: ""; ValueData
: "Python CompiledFile"; Flags
: uninsdeletevalue
236 Tasks
: extensions
; Root
: HKCR
; Subkey
: ".pyw"; ValueType
: string; ValueName
: ""; ValueData
: "Python NoConFile"; Flags
: uninsdeletevalue
237 Tasks
: extensions
; Root
: HKCR
; Subkey
: ".pyw"; ValueType
: string; ValueName
: "Content Type"; ValueData
: "text/plain"; Flags
: uninsdeletevalue
238 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python NoConFile"; ValueType
: string; ValueName
: ""; ValueData
: "Python File (no console)"; Flags
: uninsdeletekey
239 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python NoConFile\DefaultIcon"; ValueType
: string; ValueName
: ""; ValueData
: "{app}\Py.ico"
240 Tasks
: extensions
; Root
: HKCR
; Subkey
: "Python NoConFile\shell\open\command"; ValueType
: string; ValueName
: ""; ValueData
: """{app}\pythonw.exe"" ""%1"" %*"