Commit 4f54dfd8 authored by Guido van Rossum's avatar Guido van Rossum

Lots of cleanup things.

Added the bitmaps back, and added the wizard style program group
selection dialog.

Got rid of references to backup etc. inserted by the installer wizard
-- we don't use these.

Got rid of conditionals for Windows 3.1, ditto.

Changed version to 1.6a2.

Changed default install directory to "C:\Python16" (not really, but close).

Install only one copy of python16.lib.

Install the two MS DLLs (versioned) and python16.dll (unversioned) in
the system directory.

Install Tcl/Tk and expat in the DLLs directory.
parent 54a1d829
Document Type: WSE Document Type: WSE
item: Global item: Global
Version=5.0 Version=5.0
Title=Python 1.6 alpha 1 Title=Python 1.6 alpha 2
Flags=00010100 Flags=00010100
Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Japanese Font Name=MS Gothic Japanese Font Name=MS Gothic
...@@ -53,62 +53,31 @@ item: Check Configuration ...@@ -53,62 +53,31 @@ item: Check Configuration
end end
item: Set Variable item: Set Variable
Variable=APPTITLE Variable=APPTITLE
Value=Python 1.6 alpha 1 Value=Python 1.6 alpha 2
end end
item: Set Variable item: Set Variable
Variable=GROUP Variable=GROUP
Value=Python 1.6 Value=Python 1.6
end end
item: Set Variable
Variable=DISABLED
Value=!
end
item: Set Variable item: Set Variable
Variable=PY_VERSION Variable=PY_VERSION
Value=1.6 Value=1.6
end end
item: Set Variable item: Set Variable
Variable=MAINDIR Variable=MAINDIR
Value=Python-1.6 Value=Python16
end
item: Check Configuration
Flags=10111011
end end
item: Get Registry Key Value item: Get Registry Key Value
Variable=PROGRAM_FILES Variable=PROGRAM_FILES
Key=SOFTWARE\Microsoft\Windows\CurrentVersion Key=SOFTWARE\Microsoft\Windows\CurrentVersion
Default=C:\Program Files Default=C:\Program Files
Value Name=ProgramFilesDir Value Name=ProgramFilesDir
Flags=00000100 Flags=00000101
end end
item: Set Variable item: Set Variable
Variable=MAINDIR Variable=MAINDIR
Value=%PROGRAM_FILES%\%MAINDIR% Value=%PROGRAM_FILES%\%MAINDIR%
end end
item: Set Variable
Variable=EXPLORER
Value=1
end
item: Else Statement
end
item: Set Variable
Variable=MAINDIR
Value=C:\%MAINDIR%
end
item: End Block
end
item: Set Variable
Variable=BACKUP
Value=%MAINDIR%\BACKUP
end
item: Set Variable
Variable=DOBACKUP
Value=B
end
item: Set Variable
Variable=BRANDING
Value=0
end
item: Set Variable item: Set Variable
Variable=COMPONENTS Variable=COMPONENTS
Value=ABCDE Value=ABCDE
...@@ -116,25 +85,10 @@ end ...@@ -116,25 +85,10 @@ end
item: Wizard Block item: Wizard Block
Direction Variable=DIRECTION Direction Variable=DIRECTION
Display Variable=DISPLAY Display Variable=DISPLAY
Bitmap Pathname=C:\Program Files\Wise\DIALOGS\TEMPLATE\WIZARD.BMP
X Position=9 X Position=9
Y Position=10 Y Position=10
Filler Color=8421440 Filler Color=8421440
Dialog=Welcome
Dialog=Select Destination Directory
Dialog=Select Components
Dialog=Select Program Manager Group
Variable=
Variable=
Variable=
Variable=EXPLORER
Value=
Value=
Value=
Value=1
Compare=0
Compare=0
Compare=0
Compare=0
Flags=00000011 Flags=00000011
end end
item: Custom Dialog Set item: Custom Dialog Set
...@@ -499,38 +453,90 @@ item: Custom Dialog Set ...@@ -499,38 +453,90 @@ item: Custom Dialog Set
end end
end end
end end
item: End Block item: Custom Dialog Set
end Name=Select Program Manager Group
item: Get ProgMan Group
Variable=GROUP
Window=Select Start Menu Group
Description=Select the group where the Python shortcuts are installed in your start menu. By default, a new group named "Python 1.6" is created.
Title=Group name for Python:
Default=Python 1.6
end
item: Wizard Block
Direction Variable=DIRECTION
Display Variable=DISPLAY Display Variable=DISPLAY
X Position=9 item: Dialog
Y Position=10 Title=%APPTITLE% Installation
Filler Color=8421440 Title French=Installation de %APPTITLE%
Dialog=Welcome Title German=Installation von %APPTITLE%
Dialog=Select Destination Directory Title Spanish=Instalacin de %APPTITLE%
Dialog=Select Components Title Italian=Installazione di %APPTITLE%
Dialog=Select Program Manager Group Width=271
Variable= Height=224
Variable= Font Name=Helv
Variable= Font Size=8
Variable=EXPLORER item: Push Button
Value= Rectangle=150 187 195 202
Value= Variable=DIRECTION
Value= Value=N
Value=1 Create Flags=01010000000000010000000000000001
Compare=0 Text=&Next >
Compare=0 Text French=&Suite >
Compare=0 Text German=&Weiter >
Compare=0 Text Spanish=&Siguiente >
Flags=00000011 Text Italian=&Avanti >
end
item: Push Button
Rectangle=105 187 150 202
Variable=DIRECTION
Value=B
Create Flags=01010000000000010000000000000000
Flags=0000000000000001
Text=< &Back
Text French=< &Retour
Text German=< &Zurck
Text Spanish=< &Atrs
Text Italian=< &Indietro
end
item: Push Button
Rectangle=211 187 256 202
Action=3
Create Flags=01010000000000010000000000000000
Text=&Cancel
Text French=&Annuler
Text German=&Abbrechen
Text Spanish=&Cancelar
Text Italian=&Annulla
end
item: Static
Rectangle=8 180 256 181
Action=3
Create Flags=01010000000000000000000000000111
end
item: Static
Rectangle=86 8 258 42
Create Flags=01010000000000000000000000000000
Flags=0000000000000001
Name=Times New Roman
Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
Text=Select ProgMan Group
Text French=Slectionner le groupe du Gestionnaire de programme
Text German=Bestimmung der Programm-Managergruppe
Text Spanish=Seleccione grupo del Administrador de programas
Text Italian=Selezionare il gruppo ProgMan
end
item: Static
Rectangle=86 44 256 68
Create Flags=01010000000000000000000000000000
Text=Enter the name of the Program Manager group to add %APPTITLE% icons to:
Text French=Entrez le nom du groupe du Gestionnaire de programme dans lequel vous souhaitez ajouter les icnes de %APPTITLE% :
Text German=Geben Sie den Namen der Programmgruppe ein, der das Symbol %APPTITLE% hinzugefgt werden soll:
Text Spanish=Escriba el nombre del grupo del Administrador de programas en el que desea agregar los iconos de %APPTITLE%:
Text Italian=Inserire il nome del gruppo Program Manager per aggiungere le icone %APPTITLE% a:
end
item: Combobox
Rectangle=86 69 256 175
Variable=GROUP
Create Flags=01010000001000010000001100000001
Flags=0000000000000001
Text=%GROUP%
Text French=%GROUP%
Text German=%GROUP%
Text Spanish=%GROUP%
Text Italian=%GROUP%
end
end
end end
item: Custom Dialog Set item: Custom Dialog Set
Name=Start Installation Name=Start Installation
...@@ -615,26 +621,6 @@ item: Custom Dialog Set ...@@ -615,26 +621,6 @@ item: Custom Dialog Set
end end
end end
end end
item: If/While Statement
Variable=DISPLAY
Value=Select Destination Directory
end
item: Set Variable
Variable=BACKUP
Value=%MAINDIR%\BACKUP
end
item: End Block
end
item: End Block
end
item: If/While Statement
Variable=DOBACKUP
Value=A
end
item: Set Variable
Variable=BACKUPDIR
Value=%BACKUP%
end
item: End Block item: End Block
end end
item: Open/Close INSTALL.LOG item: Open/Close INSTALL.LOG
...@@ -642,11 +628,11 @@ end ...@@ -642,11 +628,11 @@ end
item: Remark item: Remark
Text=Where system DLLs are installed (choose one of the following): Text=Where system DLLs are installed (choose one of the following):
end end
item: Set Variable remarked item: Set Variable
Variable=DLLDEST Variable=DLLDEST
Value=%MAINDIR% Value=%MAINDIR%
end end
remarked item: Set Variable item: Set Variable
Variable=DLLDEST Variable=DLLDEST
Value=%SYS32% Value=%SYS32%
end end
...@@ -669,38 +655,21 @@ item: Install File ...@@ -669,38 +655,21 @@ item: Install File
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\pcbuild\parser.pyd Source=%_SRC_%\pcbuild\*.pyd
Destination=%MAINDIR%\DLLs\parser.pyd Destination=%MAINDIR%\DLLs
Description=Extension modules
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\pcbuild\_tkinter.pyd Source=%_SRC_%\..\expat\bin\xmlparse.dll
Destination=%MAINDIR%\DLLs\_tkinter.pyd Destination=%MAINDIR%\DLLs\xmlparse.dll
Description=Expat library
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\pcbuild\zlib.pyd Source=%_SRC_%\..\expat\bin\xmltok.dll
Destination=%MAINDIR%\DLLs\zlib.pyd Destination=%MAINDIR%\DLLs\xmltok.dll
Flags=0000000000000010 Description=Expat library
end
item: Install File
Source=%_SRC_%\pcbuild\bsddb.pyd
Destination=%MAINDIR%\DLLs\bsddb.pyd
Flags=0000000000000010
end
item: Install File
Source=%_SRC_%\pcbuild\winreg.pyd
Destination=%MAINDIR%\DLLs\winreg.pyd
Flags=0000000000000010
end
item: Install File
Source=%_SRC_%\pcbuild\mmap.pyd
Destination=%MAINDIR%\DLLs\mmap.pyd
Flags=0000000000000010
end
item: Install File
Source=%_SRC_%\pcbuild\_sre.pyd
Destination=%MAINDIR%\DLLs\_sre.pyd
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
...@@ -709,23 +678,9 @@ item: Install File ...@@ -709,23 +678,9 @@ item: Install File
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\pcbuild\python16.lib Source=%_SRC_%\Pc\*.ico
Destination=%DLLDEST%\python16.lib Destination=%MAINDIR%
Flags=0000000000000010 Description=Icons
end
item: Install File
Source=%_SRC_%\Pc\pycon.ico
Destination=%MAINDIR%\pycon.ico
Flags=0000000000000010
end
item: Install File
Source=%_SRC_%\Pc\pyc.ico
Destination=%MAINDIR%\pyc.ico
Flags=0000000000000010
end
item: Install File
Source=%_SRC_%\Pc\py.ico
Destination=%MAINDIR%\py.ico
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
...@@ -756,18 +711,12 @@ item: Install File ...@@ -756,18 +711,12 @@ item: Install File
Source=%_SRC_%\Lib\distutils\*.py Source=%_SRC_%\Lib\distutils\*.py
Destination=%MAINDIR%\Lib\distutils Destination=%MAINDIR%\Lib\distutils
Description=Distribution utility modules Description=Distribution utility modules
Flags=0000000000000010 Flags=0000000100000010
end
item: Install File
Source=%_SRC_%\Lib\distutils\command\*.py
Destination=%MAINDIR%\Lib\distutils\command
Description=Distribution utility modules
Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\pcbuild\*.lib Source=%_SRC_%\pcbuild\*.lib
Destination=%MAINDIR%\libs Destination=%MAINDIR%\libs
Description=.lib files Description=Link library files
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
...@@ -777,7 +726,7 @@ item: Install File ...@@ -777,7 +726,7 @@ item: Install File
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\Pc\config.h Source=%_SRC_%\PC\config.h
Destination=%MAINDIR%\include\config.h Destination=%MAINDIR%\include\config.h
Description=Header files (config.h) Description=Header files (config.h)
Flags=0000000000000010 Flags=0000000000000010
...@@ -1146,12 +1095,6 @@ item: If/While Statement ...@@ -1146,12 +1095,6 @@ item: If/While Statement
Value=D Value=D
Flags=00001010 Flags=00001010
end end
item: Check Configuration
Flags=10111011
end
item: Remark
Text=If NT, install in a common group
end
item: Get Registry Key Value item: Get Registry Key Value
Variable=GROUPDIR Variable=GROUPDIR
Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
...@@ -1217,29 +1160,6 @@ item: Create Shortcut ...@@ -1217,29 +1160,6 @@ item: Create Shortcut
Key Type=1536 Key Type=1536
Flags=00000001 Flags=00000001
end end
item: Else Statement
end
item: Add ProgMan Icon
Group=%GROUP%
Icon Name=Python
Command Line=%MAINDIR%\python.exe
Default Directory=%MAINDIR%
end
item: If/While Statement
Variable=COMPONENTS
Value=B
Flags=00001010
end
remarked item: Add ProgMan Icon
Group=%GROUP%
Icon Name=Python Manuals
Command Line=%MAINDIR%\Doc\index.html
Default Directory=%MAINDIR%\Doc
end
item: End Block
end
item: End Block
end
item: End Block item: End Block
end end
item: Self-Register OCXs/DLLs item: Self-Register OCXs/DLLs
...@@ -1251,17 +1171,17 @@ item: If/While Statement ...@@ -1251,17 +1171,17 @@ item: If/While Statement
Flags=00001010 Flags=00001010
end end
item: Install File item: Install File
Source=%_SRC_%\..\tcl8.3\bin\tcl83.dll Source=%_SRC_%\..\tcl8.2\bin\tcl82.dll
Destination=%MAINDIR%\tcl83.dll Destination=%MAINDIR%\DLLs\tcl82.dll
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\..\tcl8.3\bin\tk83.dll Source=%_SRC_%\..\tcl8.2\bin\tk82.dll
Destination=%MAINDIR%\tk83.dll Destination=%MAINDIR%\DLLs\tk82.dll
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File item: Install File
Source=%_SRC_%\..\tcl8.3\lib\*.* Source=%_SRC_%\..\tcl8.2\lib\*.*
Destination=%MAINDIR%\tcl Destination=%MAINDIR%\tcl
Flags=0000000100000010 Flags=0000000100000010
end end
...@@ -1270,6 +1190,7 @@ end ...@@ -1270,6 +1190,7 @@ end
item: Wizard Block item: Wizard Block
Direction Variable=DIRECTION Direction Variable=DIRECTION
Display Variable=DISPLAY Display Variable=DISPLAY
Bitmap Pathname=C:\Program Files\Wise\DIALOGS\TEMPLATE\WIZARD.BMP
X Position=9 X Position=9
Y Position=10 Y Position=10
Filler Color=8421440 Filler Color=8421440
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment