Tim Peters | 7e5dcf6 | 2001-07-20 09:32:16 +0000 | [diff] [blame^] | 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. |
| 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??? |
| 42 | AppName=Python 2.2 alpha 1 |
| 43 | AppVerName=Python 2.2 alpha 1 |
| 44 | AppVersion=2.2a1 |
| 45 | AppCopyright=Copyright © 2001 Python Software Foundation |
| 46 | |
| 47 | ; Default install dir; value of {app} later (unless user overrides). |
| 48 | ; {sd} = system root drive, probably "C:". |
| 49 | DefaultDirName={sd}\Python22 |
| 50 | |
| 51 | ; Start menu folder name. |
| 52 | DefaultGroupName=Python 2.2 |
| 53 | |
| 54 | AppId=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. |
| 60 | SourceDir=.. |
| 61 | OutputDir=PCBuild |
| 62 | OutputBaseFilename=Python-2.2a1 |
| 63 | |
| 64 | AppPublisher=PythonLabs at Digicool |
| 65 | AppPublisherURL=http://www.python.org |
| 66 | AppSupportURL=http://www.python.org |
| 67 | AppUpdatesURL=http://www.python.org |
| 68 | |
| 69 | AlwaysCreateUninstallIcon=yes |
| 70 | ChangesAssociations=yes |
| 71 | UninstallLogMode=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] |
| 78 | Name: normal; Description: "Select desired components"; Flags: iscustom |
| 79 | |
| 80 | [Components] |
| 81 | Name: main; Description: "Python interpreter and library"; Types: normal |
| 82 | Name: docs; Description: "Python documentation (HTML)"; Types: normal |
| 83 | Name: tools; Description: "Python utility scripts"; Types: normal |
| 84 | Name: 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 | |
| 92 | Source: LICENSE; DestDir: "{app}"; DestName: LICENSE.txt; CopyMode: alwaysoverwrite |
| 93 | Source: README; DestDir: "{app}"; DestName: README.txt; CopyMode: alwaysoverwrite |
| 94 | Source: Misc\News; DestDir: "{app}"; DestName: NEWS.txt; CopyMode: alwaysoverwrite |
| 95 | Source: PC\*.ico; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main |
| 96 | |
| 97 | |
| 98 | Source: PCbuild\python.exe; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main |
| 99 | Source: PCbuild\pythonw.exe; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main |
| 100 | Source: PCbuild\w9xpopen.exe; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main |
| 101 | |
| 102 | Source: PCbuild\python22.dll; DestDir: "{app}"; CopyMode: alwaysoverwrite; Components: main |
| 103 | |
| 104 | Source: ..\tcl\bin\tcl83.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 105 | Source: ..\tcl\bin\tk83.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 106 | Source: ..\tcl\lib\*.*; DestDir: "{app}\tcl"; CopyMode: alwaysoverwrite; Components: main; Flags: recursesubdirs |
| 107 | |
| 108 | Source: PCbuild\_socket.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 109 | Source: PCbuild\_socket.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 110 | |
| 111 | Source: PCbuild\_sre.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 112 | Source: PCbuild\_sre.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 113 | |
| 114 | Source: PCbuild\_symtable.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 115 | Source: PCbuild\_symtable.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 116 | |
| 117 | Source: PCbuild\_testcapi.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 118 | Source: PCbuild\_testcapi.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 119 | |
| 120 | Source: PCbuild\_tkinter.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 121 | Source: PCbuild\_tkinter.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 122 | |
| 123 | Source: PCbuild\bsddb.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 124 | Source: PCbuild\bsddb.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 125 | |
| 126 | Source: PCbuild\mmap.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 127 | Source: PCbuild\mmap.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 128 | |
| 129 | Source: PCbuild\parser.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 130 | Source: PCbuild\parser.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 131 | |
| 132 | Source: PCbuild\pyexpat.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 133 | Source: PCbuild\pyexpat.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 134 | |
| 135 | Source: PCbuild\select.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 136 | Source: PCbuild\select.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 137 | |
| 138 | Source: PCbuild\unicodedata.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 139 | Source: PCbuild\unicodedata.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 140 | |
| 141 | Source: PCbuild\_winreg.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 142 | Source: PCbuild\_winreg.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 143 | |
| 144 | Source: PCbuild\winsound.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 145 | Source: PCbuild\winsound.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 146 | |
| 147 | Source: PCbuild\zlib.pyd; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 148 | Source: PCbuild\zlib.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 149 | |
| 150 | Source: PCbuild\python22.lib; DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main |
| 151 | |
| 152 | Source: ..\expat\bin\xmlparse.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 153 | Source: ..\expat\bin\xmltok.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main |
| 154 | |
| 155 | Source: Lib\*.py; DestDir: "{app}\Lib"; CopyMode: alwaysoverwrite; Components: main |
| 156 | Source: Lib\lib-tk\*.py; DestDir: "{app}\Lib\lib-tk"; CopyMode: alwaysoverwrite; Components: main |
| 157 | |
| 158 | Source: Lib\encodings\*.py; DestDir: "{app}\Lib\encodings"; CopyMode: alwaysoverwrite; Components: main |
| 159 | Source: Lib\distutils\*.py; DestDir: "{app}\Lib\distutils"; CopyMode: alwaysoverwrite; Components: main |
| 160 | Source: Lib\xml\*.py; DestDir: "{app}\Lib\xml"; CopyMode: alwaysoverwrite; Flags: recursesubdirs; Components: main |
| 161 | Source: Lib\lib-old\*.py; DestDir: "{app}\Lib\lib-old"; CopyMode: alwaysoverwrite; Components: main |
| 162 | Source: Lib\site-packages\README; DestDir: "{app}\Lib\site-packages"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: main |
| 163 | Source: Include\*.h; DestDir: "{app}\include"; CopyMode: alwaysoverwrite; Components: main |
| 164 | Source: PC\config.h; DestDir: "{app}\include"; CopyMode: alwaysoverwrite; Components: main |
| 165 | |
| 166 | Source: Tools\scripts\*.py; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools |
| 167 | Source: Tools\scripts\*.pyw; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools |
| 168 | Source: Tools\scripts\*.doc; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools |
| 169 | Source: Tools\scripts\README; DestDir: "{app}\Tools\Scripts"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools |
| 170 | |
| 171 | Source: Tools\webchecker\*.py; DestDir: "{app}\Tools\webchecker"; CopyMode: alwaysoverwrite; Components: tools |
| 172 | Source: Tools\webchecker\README; DestDir: "{app}\Tools\webchecker"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools |
| 173 | |
| 174 | Source: Tools\versioncheck\*.py; DestDir: "{app}\Tools\versioncheck"; CopyMode: alwaysoverwrite; Components: tools |
| 175 | Source: Tools\versioncheck\README; DestDir: "{app}\Tools\versioncheck"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools |
| 176 | |
| 177 | Source: Tools\idle\*.py; DestDir: "{app}\Tools\idle"; CopyMode: alwaysoverwrite; Components: tools |
| 178 | Source: Tools\idle\idle.pyw; DestDir: "{app}\Tools\idle"; CopyMode: alwaysoverwrite; Components: tools |
| 179 | Source: Tools\idle\*.txt; DestDir: "{app}\Tools\idle"; CopyMode: alwaysoverwrite; Components: tools |
| 180 | Source: Tools\idle\Icons\*.*; DestDir: "{app}\Tools\idle\Icons"; CopyMode: alwaysoverwrite; Components: tools |
| 181 | |
| 182 | Source: Tools\compiler\*.py; DestDir: "{app}\Tools\compiler"; CopyMode: alwaysoverwrite; Components: tools |
| 183 | Source: Tools\compiler\compiler\*.py; DestDir: "{app}\Tools\compiler\compiler"; CopyMode: alwaysoverwrite; Components: tools |
| 184 | Source: Tools\compiler\compiler\*.txt; DestDir: "{app}\Tools\compiler\compiler"; CopyMode: alwaysoverwrite; Components: tools |
| 185 | |
| 186 | Source: Tools\pynche\*.py; DestDir: "{app}\Tools\pynche"; CopyMode: alwaysoverwrite; Components: tools |
| 187 | Source: Tools\pynche\pynche.pyw; DestDir: "{app}\Tools\pynche"; CopyMode: alwaysoverwrite; Components: tools |
| 188 | Source: Tools\pynche\X\*.txt; DestDir: "{app}\Tools\pynche\X"; CopyMode: alwaysoverwrite; Components: tools |
| 189 | Source: Tools\pynche\README; DestDir: "{app}\Tools\pynche"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: tools |
| 190 | Source: Tools\pynche\pynche; DestDir: "{app}\Tools\pynche"; DestName: pynche.py; CopyMode: alwaysoverwrite; Components: tools |
| 191 | |
| 192 | Source: html\*.*; DestDir: "{app}\Doc"; CopyMode: alwaysoverwrite; Flags: recursesubdirs; Components: docs |
| 193 | |
| 194 | Source: Lib\test\*.py; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test |
| 195 | Source: Lib\test\*.uue; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test |
| 196 | Source: Lib\test\*.xml; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test |
| 197 | Source: Lib\test\*.out; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test |
| 198 | Source: Lib\test\audiotest.au; DestDir: "{app}\Lib\test"; CopyMode: alwaysoverwrite; Components: test |
| 199 | Source: Lib\test\output\*.*; DestDir: "{app}\Lib\test\output"; CopyMode: alwaysoverwrite; Components: test |
| 200 | |
| 201 | [Icons] |
| 202 | Name: "{group}\IDLE (Python GUI)"; Filename: "{app}\pythonw.exe"; WorkingDir: "{app}"; Parameters: "{app}\Tools\idle\idle.pyw" |
| 203 | Name: "{group}\Module Docs"; Filename: "{app}\pythonw.exe"; WorkingDir: "{app}"; Parameters: "{app}\Tools\Scripts\pydoc.pyw" |
| 204 | Name: "{group}\Python (command line)"; Filename: "{app}\python.exe"; WorkingDir: "{app}" |
| 205 | Name: "{group}\Python Manuals"; Filename: "{app}\Doc\index.html"; WorkingDir: "{app}" |
| 206 | |