source: trunk/essentials/dev-lang/python/PCbuild8/python.iss@ 3368

Last change on this file since 3368 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 18.7 KB
Line 
1; 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 (but also feebler, and the uninstall
12; log is in some un(human)readable binary format).
13;
14; What's Done
15; -----------
16; All the usual Windows Python files are installed by this now.
17; All the usual Windows Python Start menu entries are created and
18; work fine.
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.
24;
25; What's Not Done
26; ---------------
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.
31;
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).
36;
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.
43
44[Setup]
45AppName=Python and combined Win32 Extensions
46AppVerName=Python 2.2.2 and combined Win32 Extensions 150
47AppId=Python 2.2.2.150
48AppVersion=2.2.2.150
49AppCopyright=Python is Copyright © 2001 Python Software Foundation. Win32 Extensions are Copyright © 1996-2001 Greg Stein and Mark Hammond.
50
51; Default install dir; value of {app} later (unless user overrides).
52; {sd} = system root drive, probably "C:".
53DefaultDirName={sd}\Python22
54;DefaultDirName={pf}\Python
55
56; Start menu folder name; value of {group} later (unless user overrides).
57DefaultGroupName=Python 2.2
58
59; Point SourceDir to one above PCBuild = src.
60; means this script can run unchanged from anyone's CVS tree, no matter
61; what they called the top-level directories.
62SourceDir=.
63OutputDir=..
64OutputBaseFilename=Python-2.2.2-Win32-150-Setup
65
66AppPublisher=PythonLabs at Digital Creations
67AppPublisherURL=http://www.python.org
68AppSupportURL=http://www.python.org
69AppUpdatesURL=http://www.python.org
70
71AlwaysCreateUninstallIcon=true
72ChangesAssociations=true
73UninstallLogMode=new
74AllowNoIcons=true
75AdminPrivilegesRequired=true
76UninstallDisplayIcon={app}\pyc.ico
77WizardDebug=false
78
79; The fewer screens the better; leave these commented.
80
81Compression=bzip
82InfoBeforeFile=LICENSE.txt
83;InfoBeforeFile=Misc\NEWS
84
85; uncomment the following line if you want your installation to run on NT 3.51 too.
86; MinVersion=4,3.51
87
88[Types]
89Name: normal; Description: Select desired components; Flags: iscustom
90
91[Components]
92Name: main; Description: Python and Win32 Extensions; Types: normal
93Name: docs; Description: Python documentation (HTML); Types: normal
94Name: tk; Description: TCL/TK, tkinter, and Idle; Types: normal
95Name: tools; Description: Python utility scripts (Tools\); Types: normal
96Name: test; Description: Python test suite (Lib\test\); Types: normal