| 1 | Document Type: WSE
|
|---|
| 2 | item: Global
|
|---|
| 3 | Version=9.0
|
|---|
| 4 | Title=Python 2.4a1
|
|---|
| 5 | Flags=00010100
|
|---|
| 6 | Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
|---|
| 7 | Japanese Font Name=MS Gothic
|
|---|
| 8 | Japanese Font Size=10
|
|---|
| 9 | Start Gradient=0 255 0
|
|---|
| 10 | End Gradient=0 128 0
|
|---|
| 11 | Windows Flags=00000100000011010010010100001010
|
|---|
| 12 | Log Pathname=%MAINDIR%\INSTALL.LOG
|
|---|
| 13 | Message Font=MS Sans Serif
|
|---|
| 14 | Font Size=8
|
|---|
| 15 | Pages Modified=00010000011101000000000100000111
|
|---|
| 16 | Extra Pages=00000000000000000000000010110010
|
|---|
| 17 | Disk Filename=SETUP
|
|---|
| 18 | Patch Flags=0000000000001001
|
|---|
| 19 | Patch Threshold=85
|
|---|
| 20 | Patch Memory=4000
|
|---|
| 21 | MIF PDF Version=1.0
|
|---|
| 22 | MIF SMS Version=2.0
|
|---|
| 23 | EXE Filename=Python-2.4a1.exe
|
|---|
| 24 | Dialogs Version=8
|
|---|
| 25 | Version File=2.4a1
|
|---|
| 26 | Version Description=Python Programming Language
|
|---|
| 27 | Version Copyright=©2001-2006 Python Software Foundation
|
|---|
| 28 | Version Company=PythonLabs at Zope Corporation
|
|---|
| 29 | Crystal Format=10111100101100000010001001001001
|
|---|
| 30 | Step View=&All
|
|---|
| 31 | Variable Name1=_WISE_
|
|---|
| 32 | Variable Description1=WISE root directory
|
|---|
| 33 | Variable Default1=C:\Programme\Wise Installation System
|
|---|
| 34 | Variable Flags1=00001000
|
|---|
| 35 | Variable Name2=_TCLDIR_
|
|---|
| 36 | Variable Description2=The directory in which the Tcl/Tk installation
|
|---|
| 37 | Variable Description2=lives. This must be a sibling of the Python
|
|---|
| 38 | Variable Description2=directory.
|
|---|
| 39 | Variable Default2=tcl84
|
|---|
| 40 | Variable Flags2=00001000
|
|---|
| 41 | Variable Name3=_DOC_
|
|---|
| 42 | Variable Description3=The unpacked HTML doc directory.
|
|---|
| 43 | Variable Default3=..\html
|
|---|
| 44 | Variable Flags3=00001001
|
|---|
| 45 | Variable Name4=_SYS_
|
|---|
| 46 | Variable Description4=System directory (where to find MSVCRT.DLL)
|
|---|
| 47 | Variable Default4=C:\Windows\System
|
|---|
| 48 | Variable Values4=C:\Windows\System
|
|---|
| 49 | Variable Values4=C:\WINNT\System32
|
|---|
| 50 | Variable Values4=C:\Code\MSDLLs
|
|---|
| 51 | Variable Values4=C:\Windows\System32
|
|---|
| 52 | Variable Flags4=00000010
|
|---|
| 53 | Variable Name5=_PYMAJOR_
|
|---|
| 54 | Variable Description5=Python major version number; the 2 in 2.3.
|
|---|
| 55 | Variable Default5=2
|
|---|
| 56 | Variable Flags5=00001000
|
|---|
| 57 | Variable Name6=_PYMINOR_
|
|---|
| 58 | Variable Description6=Python minor version number; the 3 in 2.3
|
|---|
| 59 | Variable Default6=3
|
|---|
| 60 | Variable Flags6=00001000
|
|---|
| 61 | Variable Name7=_DOADMIN_
|
|---|
| 62 | Variable Description7=The initial value for %DOADMIN%.
|
|---|
| 63 | Variable Description7=When 0, we never try to write under HKLM,
|
|---|
| 64 | Variable Description7=and install the Python + MS runtime DLLs in
|
|---|
| 65 | Variable Description7=the Python directory instead of the system dir.
|
|---|
| 66 | Variable Default7=1
|
|---|
| 67 | Variable Values7=1
|
|---|
| 68 | Variable Values7=0
|
|---|
| 69 | Variable Flags7=00001010
|
|---|
| 70 | Variable Name8=_ALIASNAME_
|
|---|
| 71 | Variable Flags8=00001000
|
|---|
| 72 | Variable Name9=_ALIASPATH_
|
|---|
| 73 | Variable Flags9=00001000
|
|---|
| 74 | Variable Name10=_ALIASTYPE_
|
|---|
| 75 | Variable Flags10=00001000
|
|---|
| 76 | end
|
|---|
| 77 | item: Set Variable
|
|---|
| 78 | Variable=PYVER_STRING
|
|---|
| 79 | Value=2.3
|
|---|
| 80 | end
|
|---|
| 81 | item: Remark
|
|---|
| 82 | end
|
|---|
| 83 | item: Remark
|
|---|
| 84 | Text=When the version number changes, set the compiler
|
|---|
| 85 | end
|
|---|
| 86 | item: Remark
|
|---|
| 87 | Text=vrbls _PYMAJOR_ and _PYMINOR_.
|
|---|
| 88 | end
|
|---|
| 89 | item: Remark
|
|---|
| 90 | Text=Nothing in the script below should need fiddling then.
|
|---|
| 91 | end
|
|---|
| 92 | item: Remark
|
|---|
| 93 | Text=Other things that need fiddling:
|
|---|
| 94 | end
|
|---|
| 95 | item: Remark
|
|---|
| 96 | Text= PYVER_STRING above.
|
|---|
| 97 | end
|
|---|
| 98 | item: Remark
|
|---|
| 99 | Text= The "Title:" in the upper left corner of the GUI.
|
|---|
| 100 | end
|
|---|
| 101 | item: Remark
|
|---|
| 102 | Text= Build Settings and Version Resource on step 6 (Finish) of the Installation Expert
|
|---|
| 103 | end
|
|---|
| 104 | item: Remark
|
|---|
| 105 | Text= Be sure to select Steps->All or you may not see these!
|
|---|
| 106 | end
|
|---|
| 107 | item: Remark
|
|---|
| 108 | end
|
|---|
| 109 | item: Remark
|
|---|
| 110 | Text=When the version of Tcl/Tk changes, the compiler vrbl
|
|---|
| 111 | end
|
|---|
| 112 | item: Remark
|
|---|
| 113 | Text=_TCLDIR_ may also need to be changed.
|
|---|
| 114 | end
|
|---|
| 115 | item: Remark
|
|---|
| 116 | end
|
|---|
| 117 | item: Set Variable
|
|---|
| 118 | Variable=APPTITLE
|
|---|
| 119 | Value=Python %PYVER_STRING%
|
|---|
| 120 | end
|
|---|
| 121 | item: Remark
|
|---|
| 122 | Text=PY_VERSION should be major.minor only; used to create the registry key; must match MS_DLL_ID in python_nt.rc
|
|---|
| 123 | end
|
|---|
| 124 | item: Set Variable
|
|---|
| 125 | Variable=PY_VERSION
|
|---|
| 126 | Value=%_PYMAJOR_%.%_PYMINOR_%
|
|---|
| 127 | end
|
|---|
| 128 | item: Remark
|
|---|
| 129 | Text=GROUP is the Start menu group name; user can override.
|
|---|
| 130 | end
|
|---|
| 131 | item: Set Variable
|
|---|
| 132 | Variable=GROUP
|
|---|
| 133 | Value=Python %PY_VERSION%
|
|---|
| 134 | Flags=10000000
|
|---|
| 135 | end
|
|---|
| 136 | item: Remark
|
|---|
| 137 | Text=MAINDIR is the app directory; user can override.
|
|---|
| 138 | end
|
|---|
| 139 | item: Set Variable
|
|---|
| 140 | Variable=MAINDIR
|
|---|
| 141 | Value=Python%_PYMAJOR_%%_PYMINOR_%
|
|---|
| 142 | end
|
|---|
| 143 | item: Remark
|
|---|
| 144 | end
|
|---|
| 145 | item: Set Variable
|
|---|
| 146 | Variable=DOADMIN
|
|---|
| 147 | Value=%_DOADMIN_%
|
|---|
| 148 | end
|
|---|
| 149 | item: Remark
|
|---|
| 150 | Text=Give non-admin users a chance to abort.
|
|---|
| 151 | end
|
|---|
| 152 | item: Check Configuration
|
|---|
| 153 | Flags=10011111
|
|---|
| 154 | end
|
|---|
| 155 | item: Set Variable
|
|---|
| 156 | Variable=DOADMIN
|
|---|
| 157 | Value=0
|
|---|
| 158 | end
|
|---|
| 159 | item: Display Message
|
|---|
| 160 | Title=Doing non-admin install
|
|---|
| 161 | Text=The current login does not have Administrator Privileges on this machine. Python will install its registry information into the per-user area only for the current login, instead of into the per-machine area for every account on this machine. Some advanced uses of Python may not work as a result (for example, running a Python script as a service).
|
|---|
| 162 | Text=
|
|---|
| 163 | Text=If this is not what you want, please click Cancel to abort this installation, log on as an Administrator, and start the installation again.
|
|---|
| 164 | Flags=00001000
|
|---|
| 165 | end
|
|---|
| 166 | item: End Block
|
|---|
| 167 | end
|
|---|
| 168 | item: Remark
|
|---|
| 169 | end
|
|---|
| 170 | item: Remark
|
|---|
| 171 | Text=BEGIN WIZARD STUFF -----------------------------------------------------------------------------------------------------------------------------
|
|---|
| 172 | end
|
|---|
| 173 | item: Remark
|
|---|
| 174 | Text=Note from Tim: the "stop" on the next line is actually "pause".
|
|---|
| 175 | end
|
|---|
| 176 | item: Open/Close INSTALL.LOG
|
|---|
| 177 | Flags=00000001
|
|---|
| 178 | end
|
|---|
| 179 | item: Remark
|
|---|
| 180 | Text=If the destination system does not have a writable Windows\System directory, system files will be written to the Windows\ directory
|
|---|
| 181 | end
|
|---|
| 182 | item: Check if File/Dir Exists
|
|---|
| 183 | Pathname=%SYS%
|
|---|
| 184 | Flags=10000100
|
|---|
| 185 | end
|
|---|
| 186 | item: Set Variable
|
|---|
| 187 | Variable=SYS
|
|---|
| 188 | Value=%WIN%
|
|---|
| 189 | end
|
|---|
| 190 | item: End Block
|
|---|
| 191 | end
|
|---|
| 192 | item: Check Configuration
|
|---|
| 193 | Flags=10111011
|
|---|
| 194 | end
|
|---|
| 195 | item: Get Registry Key Value
|
|---|
| 196 | Variable=COMMON
|
|---|
| 197 | Key=SOFTWARE\Microsoft\Windows\CurrentVersion
|
|---|
| 198 | Default=C:\Program Files\Common Files
|
|---|
| 199 | Value Name=CommonFilesDir
|
|---|
| 200 | Flags=00000100
|
|---|
| 201 | end
|
|---|
| 202 | item: Get Registry Key Value
|
|---|
| 203 | Variable=PROGRAM_FILES
|
|---|
| 204 | Key=SOFTWARE\Microsoft\Windows\CurrentVersion
|
|---|
| 205 | Default=C:\Program Files
|
|---|
| 206 | Value Name=ProgramFilesDir
|
|---|
| 207 | Flags=00000100
|
|---|
| 208 | end
|
|---|
| 209 | item: Set Variable
|
|---|
| 210 | Variable=EXPLORER
|
|---|
| 211 | Value=1
|
|---|
| 212 | end
|
|---|
| 213 | item: End Block
|
|---|
| 214 | end
|
|---|
| 215 | item: Remark
|
|---|
| 216 | Text=Note from Tim: The Wizard hardcod "C:" at the start of the replacement text for MAINDIR.
|
|---|
| 217 | end
|
|---|
| 218 | item: Remark
|
|---|
| 219 | Text=That's not appropriate if the system drive doesn't happen to be C:.
|
|---|
| 220 | end
|
|---|
| 221 | item: Remark
|
|---|
| 222 | Text=I removed the "C:", and that did the right thing for two people who tested it on non-C: machines,
|
|---|
| 223 | end
|
|---|
| 224 | item: Remark
|
|---|
| 225 | Text=but it's unclear whether it will always do the right thing.
|
|---|
| 226 | end
|
|---|
| 227 | item: Set Variable
|
|---|
| 228 | Variable=MAINDIR
|
|---|
| 229 | Value=\%MAINDIR%
|
|---|
| 230 | Flags=00001100
|
|---|
| 231 | end
|
|---|
| 232 | item: Remark
|
|---|
| 233 | Text=BACKUP is the variable that holds the path that all backup files will be copied to when overwritten
|
|---|
| 234 | end
|
|---|
| 235 | item: Set Variable
|
|---|
| 236 | Variable=BACKUP
|
|---|
| 237 | Value=%MAINDIR%\BACKUP
|
|---|
| 238 | Flags=10000000
|
|---|
| 239 | end
|
|---|
| 240 | item: Remark
|
|---|
| 241 | Text=DOBACKUP determines if a backup will be performed. The possible values are A (do backup) or B (do not do backup)
|
|---|
| 242 | end
|
|---|
| 243 | item: Set Variable
|
|---|
| 244 | Variable=DOBACKUP
|
|---|
| 245 | Value=A
|
|---|
| 246 | end
|
|---|
| 247 | item: Remark
|
|---|
| 248 | Text=BRANDING determines if the installation will be branded with a name and company. By default, this is written to the INST directory (installation media).
|
|---|
| 249 | end
|
|---|
| 250 | item: Set Variable
|
|---|
| 251 | Variable=BRANDING
|
|---|
| 252 | Value=0
|
|---|
| 253 | end
|
|---|
| 254 | item: If/While Statement
|
|---|
| 255 | Variable=BRANDING
|
|---|
| 256 | Value=1
|
|---|
| 257 | end
|
|---|
| 258 | item: Read INI Value
|
|---|
| 259 | Variable=NAME
|
|---|
| 260 | Pathname=%INST%\CUSTDATA.INI
|
|---|
| 261 | Section=Registration
|
|---|
| 262 | Item=Name
|
|---|
| 263 | end
|
|---|
| 264 | item: Read INI Value
|
|---|
| 265 | Variable=COMPANY
|
|---|
| 266 | Pathname=%INST%\CUSTDATA.INI
|
|---|
| 267 | Section=Registration
|
|---|
| 268 | Item=Company
|
|---|
| 269 | end
|
|---|
| 270 | item: If/While Statement
|
|---|
| 271 | Variable=NAME
|
|---|
| 272 | end
|
|---|
| 273 | item: Set Variable
|
|---|
| 274 | Variable=DOBRAND
|
|---|
| 275 | Value=1
|
|---|
| 276 | end
|
|---|
| 277 | item: Get System Information
|
|---|
| 278 | Variable=NAME
|
|---|
| 279 | Flags=00000110
|
|---|
| 280 | end
|
|---|
| 281 | item: Get System Information
|
|---|
| 282 | Variable=COMPANY
|
|---|
| 283 | Flags=00000111
|
|---|
| 284 | end
|
|---|
| 285 | item: End Block
|
|---|
| 286 | end
|
|---|
| 287 | item: End Block
|
|---|
| 288 | end
|
|---|
| 289 | item: Remark
|
|---|
| 290 | Text=END WIZARD STUFF -----------------------------------------------------------------------------------------------------------------------------
|
|---|
| 291 | end
|
|---|
| 292 | item: Remark
|
|---|
| 293 | end
|
|---|
| 294 | item: Remark
|
|---|
| 295 | Text=Set vrbls for the "Advanced Options" subdialog of Components.
|
|---|
| 296 | end
|
|---|
| 297 | item: Set Variable
|
|---|
| 298 | Variable=SELECT_ADMIN
|
|---|
| 299 | Value=A
|
|---|
| 300 | end
|
|---|
| 301 | item: If/While Statement
|
|---|
| 302 | Variable=DOADMIN
|
|---|
| 303 | Value=0
|
|---|
| 304 | end
|
|---|
| 305 | item: Set Variable
|
|---|
| 306 | Variable=SELECT_ADMIN
|
|---|
| 307 | Value=B
|
|---|
| 308 | end
|
|---|
| 309 | item: End Block
|
|---|
| 310 | end
|
|---|
| 311 | item: Remark
|
|---|
| 312 | end
|
|---|
| 313 | item: Remark
|
|---|
| 314 | Text=TASKS values:
|
|---|
| 315 | end
|
|---|
|
|---|